/* ===== SEKCJA 1: STYLE GŁÓWNE I RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== SEKCJA 2: NAWIGACJA GÓRNA ===== */
.horizontal-nav {
    background: linear-gradient(90deg, #2c3e50, #1a2530);
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    margin-right: 10px;
    color: #3498db;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    height: 100%;
    margin: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.nav-link:hover, .nav-item.active .nav-link {
    background-color: #34495e;
    border-bottom: 3px solid #3498db;
}

.nav-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.nav-user {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.user-actions {
    display: flex;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    margin-left: 15px;
    cursor: pointer;
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-left: 20px;
    cursor: pointer;
}

/* ===== SEKCJA 3: GŁÓWNA ZAWARTOŚĆ ===== */
.main-content {
    flex: 1;
    margin-top: 70px;
    padding: 30px;
}

/* ===== SEKCJA 4: NAGŁÓWEK POWITALNY ===== */
.welcome-section {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.welcome-section h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.welcome-section p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* ===== SEKCJA 9: SZYBKIE AKCJE ===== */
.quick-actions-section {
    margin-bottom: 30px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.quick-btn {
    background: white;
    border: 2px solid #3498db;
    color: #2980b9;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    text-decoration: none;
}

.quick-btn:hover {
    background: #e3f2fd;
    border-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.quick-btn i {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #3498db;
}

/* ===== SEKCJA PLANER I POWIADOMIENIA W JEDNEJ LINII ===== */
.planner-notifications-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.planner-card, .notifications-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    height: 100%;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.section-icon {
    font-size: 1.4rem;
    color: #3498db;
    margin-right: 10px;
}

.add-task-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.add-task-btn:hover {
    background-color: #2980b9;
}

.task-list, .notification-list {
    list-style: none;
}

.task-item, .notification-item {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.task-item:hover, .notification-item:hover {
    border-color: #3498db;
    background-color: #f8fafc;
}

.task-checkbox {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    border: 2px solid #bdc3c7;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-checkbox.checked {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
}

.task-content {
    flex: 1;
}

.task-title {
    font-weight: 600;
    margin-bottom: 3px;
    color: #2c3e50;
    font-size: 0.95rem;
}

.task-time {
    font-size: 0.8rem;
    color: #7f8c8d;
}

.task-priority {
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 10px;
}

.priority-high {
    background-color: #e74c3c;
    color: white;
}

.priority-medium {
    background-color: #f39c12;
    color: white;
}

.priority-low {
    background-color: #27ae60;
    color: white;
}

.notification-content {
    flex: 1;
}

.notification-text {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.notification-time {
    font-size: 0.75rem;
    color: #7f8c8d;
}

.notification-actions {
    display: flex;
    gap: 5px;
}

.notification-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #bdc3c7;
    transition: all 0.3s;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-btn:hover {
    color: #3498db;
    background: #e3f2fd;
}

.notification-btn.mark-read {
    color: #27ae60;
}

.notification-btn.mark-read:hover {
    background: #e8f6ef;
}

/* ===== DODATKOWE STYLE DLA STATYSTYK ===== */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* ===== MODALE ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.modal-title {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #7f8c8d;
    cursor: pointer;
}

.close-modal:hover {
    color: #e74c3c;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-input, .form-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-input:focus, .form-select:focus {
    border-color: #3498db;
    outline: none;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-item input {
    width: 18px;
    height: 18px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
    font-weight: 500;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

/* ===== STYLE DLA WYMIANY KURSANTÓW ===== */
.swap-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.swap-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s;
}

.swap-btn.active {
    opacity: 1;
    background: #f39c12;
    transform: scale(1.05);
}

.swap-btn.active:hover {
    background: #e67e22;
}

/* ===== NOWE STYLE DLA STRONY GŁÓWNEJ ===== */

/* Misja */
.mission-content {
    line-height: 1.7;
}

.mission-content p {
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.mission-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.mission-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    transition: transform 0.3s;
}

.mission-item:hover {
    transform: translateY(-5px);
}

.mission-item i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
}

.mission-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Sekcja "Dla kogo?" */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.benefit-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s;
}

.benefit-item:hover {
    background: #e3f2fd;
}

.benefit-icon {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
    text-align: center;
}

.benefit-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.3rem;
}

.benefit-content ul {
    list-style: none;
    padding-left: 0;
}

.benefit-content li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.benefit-content li:before {
    content: "✓";
    color: #27ae60;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Funkcje */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.feature-item i {
    font-size: 1.8rem;
    color: #3498db;
    margin-top: 5px;
}

.feature-item h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

/* Zalety */
.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s;
}

.advantage-item:hover {
    background: #e3f2fd;
}

.advantage-number {
    background: #3498db;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.advantage-content h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

/* Kontakt */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-info i {
    color: #3498db;
    width: 20px;
}

/* ===== NOWE STYLE DLA REJESTRACJI ===== */

.account-selection-container {
    max-width: 900px;
    margin: 0 auto;
}

.selection-header {
    text-align: center;
    margin-bottom: 40px;
}

.selection-header h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.selection-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.account-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.account-type-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    cursor: pointer;
}

.account-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.2);
    border-color: #3498db;
}

.account-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: white;
}

.account-type-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.account-type-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.account-features {
    text-align: left;
    width: 100%;
    margin-top: 20px;
}

.account-features ul {
    list-style: none;
    padding: 0;
}

.account-features li {
    padding: 8px 0;
    color: #5d6d7e;
    position: relative;
    padding-left: 25px;
}

.account-features li:before {
    content: "✓";
    color: #27ae60;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.type-ask .account-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.type-instruktor .account-icon {
    background: linear-gradient(135deg, #27ae60, #219653);
}

.type-kursant .account-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.selection-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #ecf0f1;
}

.selection-footer p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.back-link:hover {
    background: #e3f2fd;
}

/* ===== NOWE STYLE DLA LOGOWANIA ===== */

.login-container {
    max-width: 1100px;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.login-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.login-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.login-methods {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.login-form-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.method-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.method-card:hover {
    background: #e3f2fd;
    border-color: #3498db;
    transform: translateY(-5px);
}

.method-card.active {
    background: #e3f2fd;
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.method-ask .method-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.method-instruktor .method-icon {
    background: linear-gradient(135deg, #27ae60, #219653);
}

.method-kursant .method-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.method-card h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.method-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-header p {
    color: #7f8c8d;
}

.login-form .form-group {
    margin-bottom: 25px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.login-form .form-input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.login-form .form-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

.password-toggle {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 1.1rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5d6d7e;
}

.forgot-password {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #ecf0f1;
}

.login-footer p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.register-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s;
    background: #e3f2fd;
}

.register-link:hover {
    background: #d1e7ff;
    transform: translateY(-2px);
}

.alerts-container {
    margin-bottom: 25px;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 500;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* ===== ANIMACJE ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mission-item, .benefit-item, .feature-item, .advantage-item {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.mission-item:nth-child(1) { animation-delay: 0.1s; }
.mission-item:nth-child(2) { animation-delay: 0.2s; }
.mission-item:nth-child(3) { animation-delay: 0.3s; }

/* ===== SEKCJA 10: RESPONSYWNOŚĆ ===== */
@media (max-width: 1200px) {
    .nav-link {
        padding: 0 15px;
        font-size: 0.9rem;
    }
    
    .nav-link i {
        margin-right: 5px;
    }
}

@media (max-width: 1024px) {
    .planner-notifications-section {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .login-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
        overflow-x: visible;
    }
    
    .nav-item {
        height: auto;
        margin: 3px;
    }
    
    .nav-link {
        height: auto;
        padding: 8px 12px;
        border-radius: 5px;
        font-size: 0.8rem;
    }
    
    .main-content {
        margin-top: 140px;
        padding: 15px;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-btn {
        min-height: 80px;
        padding: 15px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .modal {
        width: 95%;
        padding: 20px;
    }
    
    .mission-points {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .feature-item, .advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .advantage-item {
        text-align: left;
        flex-direction: row;
    }
    
    .account-types-grid {
        grid-template-columns: 1fr;
    }
    
    .account-type-card {
        padding: 25px;
    }
    
    .selection-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .account-type-card, .method-card {
        padding: 20px;
    }
    
    .account-icon, .method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}