.secondary-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.secondary-main {
    padding: 30px 24px;
}

.secondary-section {
    max-width: 1000px;
    margin: 0 auto;
}

.records-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 30px;
}

.records-table {
    width: 100%;
    border-collapse: collapse;
}

.records-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.records-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.records-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
}

.records-table tbody tr {
    transition: all 0.3s ease;
}

.records-table tbody tr:hover {
    background: #fafafa;
}

.records-table tbody tr:last-child td {
    border-bottom: none;
}

.accuracy-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
}

.accuracy-high {
    background: linear-gradient(135deg, #26de81 0%, #20BF6B 100%);
    color: white;
}

.accuracy-medium {
    background: linear-gradient(135deg, #F8B500 0%, #F79E1B 100%);
    color: white;
}

.accuracy-low {
    background: linear-gradient(135deg, #FC5C65 0%, #EB3349 100%);
    color: white;
}

.action-link {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.action-link:hover {
    background: #667eea;
    color: white;
}

.modal-close-candy {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-family: inherit;
}

.modal-close-candy:hover {
    opacity: 1;
}

.result-content {
    position: relative;
}

.mistakes-list {
    max-height: 400px;
    overflow-y: auto;
}

.mistake-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 12px 16px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 10px;
}

.mistake-word1, .mistake-word2 {
    flex: 1;
    text-align: center;
    font-weight: 500;
    color: #333;
}

.mistake-arrow {
    color: #999;
    font-size: 18px;
}

@media (max-width: 768px) {
    .records-table {
        display: block;
        overflow-x: auto;
    }
    
    .records-table th,
    .records-table td {
        padding: 12px 15px;
        white-space: nowrap;
    }
    
    .secondary-main {
        padding: 20px 16px;
    }
    
    .section-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 16px;
    }
    
    .nav-link span:last-child {
        display: none;
    }
    
    .user-name {
        display: none;
    }
    
    .records-card {
        border-radius: 16px;
        margin-top: 20px;
    }
}

.profile-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.profile-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.profile-avatar-large {
    font-size: 48px;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.profile-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
    font-weight: 600;
}

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

.profile-form .form-label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.profile-form .form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.profile-form .form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.profile-form .form-input:disabled {
    background: #f5f5f5;
    color: #888;
}

.profile-form .form-hint {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 13px;
}

.profile-form .btn-candy {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    margin-top: 10px;
}
