/**
 * ZoekEenHuurhuis Members - Styles
 */

/* Auth Container */
.zeh-auth-container {
    max-width: 450px;
    margin: 40px auto;
    padding: 0 20px;
}

.zeh-auth-box {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 40px;
}

.zeh-auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.zeh-auth-header h2 {
    font-size: 1.75rem;
    margin: 0 0 10px;
    color: #1a3a5c;
}

.zeh-auth-header p {
    color: #64748b;
    margin: 0;
}

/* Forms */
.zeh-auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zeh-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.zeh-form-group label {
    font-weight: 600;
    font-size: 14px;
    color: #334155;
}

.zeh-form-group input {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.zeh-form-group input:focus {
    outline: none;
    border-color: #4a9ece;
    box-shadow: 0 0 0 3px rgba(74, 158, 206, 0.1);
}

.zeh-form-group small {
    font-size: 12px;
    color: #94a3b8;
}

.zeh-form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.zeh-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .zeh-form-row-2 {
        grid-template-columns: 1fr;
    }
}

.zeh-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.zeh-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.zeh-link {
    font-size: 14px;
    color: #4a9ece;
    text-decoration: none;
}

.zeh-link:hover {
    text-decoration: underline;
}

/* Message */
.zeh-form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.zeh-form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.zeh-form-message.success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Buttons */
.zeh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.zeh-btn-primary {
    background: linear-gradient(135deg, #4a9ece, #3c90c0);
    color: white;
}

.zeh-btn-primary:hover {
    background: linear-gradient(135deg, #3c90c0, #2d7aa8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 158, 206, 0.3);
}

.zeh-btn-outline {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.zeh-btn-outline:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.zeh-btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.zeh-btn-full {
    width: 100%;
}

.zeh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Auth Footer */
.zeh-auth-footer {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.zeh-auth-footer p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.zeh-auth-footer a {
    color: #4a9ece;
    font-weight: 600;
}

/* Benefits */
.zeh-auth-benefits {
    margin-top: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.zeh-auth-benefits h4 {
    margin: 0 0 15px;
    font-size: 14px;
    color: #334155;
}

.zeh-auth-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zeh-auth-benefits li {
    padding: 6px 0;
    font-size: 14px;
    color: #64748b;
}

/* Dashboard */
.zeh-dashboard {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.zeh-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.zeh-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.zeh-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.zeh-user-details h2 {
    margin: 0 0 5px;
    font-size: 1.5rem;
    color: #1a3a5c;
}

.zeh-user-email {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.zeh-user-since {
    margin: 5px 0 0;
    color: #94a3b8;
    font-size: 13px;
}

/* Dashboard Stats */
.zeh-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.zeh-stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.zeh-stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.zeh-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a3a5c;
}

.zeh-stat-label {
    color: #64748b;
    font-size: 14px;
}

/* Menu Grid */
.zeh-dashboard-menu {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.zeh-dashboard-menu h3 {
    margin: 0 0 20px;
    color: #1a3a5c;
}

.zeh-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (max-width: 600px) {
    .zeh-menu-grid {
        grid-template-columns: 1fr;
    }
}

.zeh-menu-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.zeh-menu-item:hover {
    background: #f0f9ff;
    border-color: #4a9ece;
    transform: translateY(-2px);
}

.zeh-menu-item-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.zeh-menu-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.zeh-menu-title {
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 5px;
}

.zeh-menu-desc {
    font-size: 13px;
    color: #64748b;
}

/* Dashboard Section */
.zeh-dashboard-section {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.zeh-dashboard-section h3 {
    margin: 0 0 20px;
    color: #1a3a5c;
}

/* Huispool */
.zeh-huispool {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.zeh-huispool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.zeh-huispool-header h2 {
    margin: 0;
    color: #1a3a5c;
}

.zeh-huispool-header p {
    margin: 5px 0 0;
    color: #64748b;
}

/* Empty State */
.zeh-huispool-empty {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.zeh-empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.zeh-huispool-empty h3 {
    margin: 0 0 10px;
    color: #1a3a5c;
}

.zeh-huispool-empty p {
    color: #64748b;
    margin: 0 0 25px;
}

/* Huispool Grid */
.zeh-huispool-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1100px) {
    .zeh-huispool-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
    .zeh-huispool-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .zeh-huispool-grid { grid-template-columns: 1fr; }
}

.zeh-huispool-card {
    background: white;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: relative;
}

.zeh-huispool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.zeh-card-image {
    position: relative;
    height: 140px;
    background: #f1f5f9;
}

.zeh-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zeh-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    color: #cbd5e1;
}

.zeh-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    color: #dc2626;
}

.zeh-huispool-card:hover .zeh-remove-btn {
    opacity: 1;
}

.zeh-remove-btn:hover {
    background: #fef2f2;
}

.zeh-card-content {
    padding: 15px;
}

.zeh-card-content h4 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #1a3a5c;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zeh-card-city {
    margin: 0 0 5px;
    font-size: 13px;
    color: #64748b;
}

.zeh-card-price {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #10b981;
}

.zeh-card-source {
    display: inline-block;
    padding: 2px 8px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 11px;
    color: #64748b;
}

.zeh-card-date {
    margin: 8px 0 0;
    font-size: 11px;
    color: #94a3b8;
}

.zeh-card-actions {
    padding: 0 15px 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Share Dropdown */
.zeh-share-dropdown {
    position: relative;
}

.zeh-share-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    left: auto;
    margin-bottom: 8px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 150px;
    display: none;
    z-index: 100;
    overflow: hidden;
}

.zeh-share-menu.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.zeh-share-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    background: none;
    border: none;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.zeh-share-item:hover {
    background: #f1f5f9;
}

.zeh-share-item:not(:last-child) {
    border-bottom: 1px solid #e2e8f0;
}

.zeh-huispool-footer {
    margin-top: 30px;
    text-align: center;
}

.zeh-huispool-footer a {
    color: #64748b;
    text-decoration: none;
}

.zeh-huispool-footer a:hover {
    color: #4a9ece;
}

/* Save Button (for listing cards) */
.zeh-save-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 15;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zeh-save-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.zeh-save-btn .save-icon {
    font-size: 18px;
    line-height: 1;
}

.zeh-save-btn.saved {
    background: #ef4444;
}

.zeh-save-btn.saved .save-icon {
    filter: none;
}

.zeh-save-btn.saving {
    pointer-events: none;
    opacity: 0.7;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.zeh-save-btn.just-saved .save-icon {
    animation: heartPop 0.3s ease;
}

/* Mobile */
@media (max-width: 600px) {
    .zeh-auth-box {
        padding: 30px 20px;
    }
    
    .zeh-dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .zeh-user-info {
        flex-direction: column;
    }
    
    .zeh-dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .zeh-huispool-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Review Cards */
.zeh-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zeh-review-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.zeh-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.zeh-review-rating {
    font-size: 1.2rem;
}

.zeh-review-meta {
    text-align: right;
}

.zeh-review-meta strong {
    display: block;
    color: #1a3a5c;
}

.zeh-review-meta span {
    font-size: 12px;
    color: #94a3b8;
}

.zeh-review-title {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: #1a3a5c;
}

.zeh-review-content {
    color: #475569;
    line-height: 1.6;
    margin: 0 0 15px;
}

.zeh-review-proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.zeh-review-proscons strong {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
}

.zeh-review-proscons p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.zeh-review-target {
    font-size: 13px;
    color: #94a3b8;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.zeh-review-target strong {
    color: #4a9ece;
}

.zeh-no-reviews {
    text-align: center;
    padding: 40px;
    color: #64748b;
    background: #f8fafc;
    border-radius: 12px;
}

@media (max-width: 600px) {
    .zeh-review-proscons {
        grid-template-columns: 1fr;
    }
    
    .zeh-review-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .zeh-review-meta {
        text-align: left;
    }
}

/* Toggle Switch */
.zeh-toggle-group {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.zeh-toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: normal;
}

.zeh-toggle-label input[type="checkbox"] {
    display: none;
}

.zeh-toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    background: #cbd5e1;
    border-radius: 26px;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.zeh-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.zeh-toggle-label input:checked + .zeh-toggle-switch {
    background: #4a9ece;
}

.zeh-toggle-label input:checked + .zeh-toggle-switch::after {
    transform: translateX(24px);
}

.zeh-toggle-text {
    font-size: 15px;
    color: #475569;
}

.zeh-toggle-group small {
    display: block;
    margin-top: 8px;
    margin-left: 62px;
    color: #94a3b8;
    font-size: 13px;
}
