/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Language Page Styles */
.language-page {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* Language Selector in Top Right Corner - UPDATED */
.language-top-corner {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-toggle-btn {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.language-toggle-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.language-toggle-btn i:first-child {
    font-size: 16px;
}

.language-toggle-btn i:last-child {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* UPDATED: Remove hover-based dropdown and use class-based instead */
.language-dropdown-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.language-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 10px;
    min-width: 140px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid #e0e0e0;
}

/* REMOVED: Hover-based dropdown styles */
/* .language-dropdown:hover .language-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
} */

.lang-btn-option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    margin: 4px 0;
    border: 1px solid #e0e0e0;
    background: white;
    color: #667eea;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: left;
}

.lang-btn-option:hover {
    background: #f0f4ff;
    border-color: #667eea;
    transform: translateX(-2px);
}

.lang-btn-option.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
}

/* Auth Section Styles */
.auth-section {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.auth-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.user-menu {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.logout-btn {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #f0f4ff;
    color: #764ba2;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f4ff;
}

.modal-header h2 {
    color: #764ba2;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #f0f4ff;
    color: #764ba2;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: 10px;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.auth-switch-btn {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    font-size: 14px;
}

.auth-switch-btn:hover {
    color: #764ba2;
}

.form-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    margin: 0 auto 30px; /* centers container horizontally */
    width: max-content; /* fits to content size */
    text-align: center;
}

.logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin-right: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo-text h1 {
    font-size: 36px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 18px;
    color: #764ba2;
    font-weight: 600;
}

/* Improved Description Section */
.description-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    padding: 20px;
}

.description-content {
    max-width: 900px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: justify;
    line-height: 1.8;
    font-size: 17px;
    color: #555;
    text-indent: 40px;
}

.description-text {
    margin-top: 20px;
}

/* Remove old language-section styles */
.language-section {
    display: none;
}

.language-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.lang-btn {
    padding: 12px 25px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.lang-btn:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.lang-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
}

.action-section {
    margin-top: 30px;
}

.portal-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.portal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

/* Portal Page Styles */
.portal-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.back-btn {
    padding: 10px 20px;
    background: #f0f4ff;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.back-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    font-size: 32px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Add section subtitle for search property page */
.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    font-size: 18px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.card-content h3 {
    margin-bottom: 10px;
    color: #764ba2;
    font-size: 22px;
    font-weight: 600;
}

.card-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Application Page Styles */
.application-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
}

.application-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 700px;
    margin: 0 auto;
}

.application-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.apply-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

/* Search Property Page Specific Styles */
.search-property-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
}

.search-property-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.property-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.property-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.property-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.property-card h3 {
    margin-bottom: 10px;
    color: #764ba2;
    font-size: 22px;
    font-weight: 600;
}

.property-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.property-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    font-size: 16px;
}

.property-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

/* Form Page Styles */
.form-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
}

.form-section {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-header h2 {
    color: #764ba2;
    font-size: 28px;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 16px;
}

.property-rental-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.form-section-title {
    font-size: 20px;
    color: #667eea;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f4ff;
    font-weight: 600;
}

.form-section-title:first-child {
    margin-top: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="file"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    background: #f8f9ff;
    border: 1px solid #e0e0e0;
}

.radio-option:hover,
.checkbox-option:hover {
    background-color: #f0f4ff;
    border-color: #667eea;
}

.radio-option input,
.checkbox-option input {
    margin-right: 8px;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.submit-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.clear-btn {
    padding: 15px 30px;
    background: #f8f9fa;
    color: #666;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.clear-btn:hover {
    background: #e9ecef;
    border-color: #667eea;
    color: #667eea;
}

.form-disclaimer {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    color: #666;
    border-left: 4px solid #667eea;
}

.form-disclaimer p {
    margin-bottom: 8px;
}

.form-disclaimer p:last-child {
    margin-bottom: 0;
}

/* Terms container for admin form */
.terms-container {
    background: #f8f9ff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-top: 10px;
}

.terms-container p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.terms-container p:last-child {
    margin-bottom: 0;
}

/* Required field indicator */
.form-group label[for*="required"]::after,
.form-group label:has(+ input[required])::after,
.form-group label:has(+ textarea[required])::after,
.form-group label:has(+ select[required])::after {
    content: " *";
    color: #e74c3c;
}

/* Auth Required Message Styles */
.auth-required-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
}

.message-content {
    text-align: center;
    max-width: 400px;
}

.message-content i {
    font-size: 64px;
    color: #667eea;
    margin-bottom: 20px;
}

.message-content h3 {
    color: #764ba2;
    margin-bottom: 10px;
    font-size: 24px;
}

.message-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.message-content .auth-buttons {
    justify-content: center;
    margin-top: 20px;
}

/* Success Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    font-weight: 500;
    transition: all 0.3s ease;
    max-width: 300px;
}

.notification.error {
    background: #e74c3c;
}

.notification.info {
    background: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .language-top-corner {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 20px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .language-dropdown {
        width: auto;
    }
    
    .language-toggle-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .language-text {
        display: inline;
    }
    
    .auth-section {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 20px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .auth-buttons {
        justify-content: center;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .logo-text h1 {
        font-size: 28px;
    }
    
    .logo-text p {
        font-size: 16px;
    }
    
    .description-content {
        padding: 25px 20px;
        font-size: 16px;
        text-indent: 30px;
    }
    
    .language-options {
        flex-direction: column;
        align-items: center;
    }
    
    .lang-btn {
        width: 200px;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .services-grid,
    .application-options,
    .property-options {
        grid-template-columns: 1fr;
    }
    
    .property-options {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .property-rental-form {
        padding: 25px;
    }
    
    .radio-group,
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .submit-btn,
    .clear-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .auth-required-message {
        padding: 25px;
        margin: 20px 0;
    }
    
    .message-content i {
        font-size: 48px;
    }
    
    .message-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .language-toggle-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .language-text {
        display: none;
    }
    
    .language-toggle-btn i:first-child {
        font-size: 14px;
        margin-right: 0;
    }
    
    .language-dropdown-content {
        min-width: 120px;
        right: 50%;
        transform: translateX(50%) translateY(-10px);
    }
    
    .language-dropdown-content.show {
        transform: translateX(50%) translateY(5px);
    }
    
    .lang-btn-option {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .auth-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .user-menu {
        padding: 6px 12px;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .logo {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .logo-text h1 {
        font-size: 24px;
    }
    
    .logo-text p {
        font-size: 14px;
    }
    
    .portal-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .service-card,
    .application-card,
    .property-card {
        padding: 20px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .property-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .description-content {
        padding: 20px 15px;
        font-size: 15px;
        text-indent: 20px;
        line-height: 1.6;
    }
    
    .language-options {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .lang-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .form-header {
        padding: 20px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .modal-content {
        padding: 15px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .auth-required-message {
        padding: 20px 15px;
    }
    
    .message-content i {
        font-size: 40px;
    }
    
    .message-content h3 {
        font-size: 18px;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Print Styles */
@media print {
    .auth-section,
    .language-top-corner,
    .back-btn,
    .form-actions {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .property-rental-form {
        box-shadow: none !important;
        background: white !important;
    }
}