.uc-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}

.uc-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    position: relative;
}

.uc-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.uc-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.uc-tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.uc-tab-btn.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
}

.uc-tab-content {
    display: none;
}

.uc-tab-content.active {
    display: block;
}

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

.uc-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.uc-form-group input[type="text"],
.uc-form-group input[type="email"],
.uc-form-group input[type="password"],
.uc-form-group input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.uc-btn {
    background: #0066cc;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.uc-btn:hover {
    background: #0052a3;
}

.uc-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.uc-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.uc-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

.uc-cabinet {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.uc-sidebar {
    width: 280px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.uc-user-info {
    text-align: center;
    margin-bottom: 30px;
}

.uc-avatar img {
    border-radius: 50%;
}

.uc-menu {
    display: flex;
    flex-direction: column;
}

.uc-menu-item {
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 5px;
}

.uc-menu-item:hover,
.uc-menu-item.active {
    background: #fff;
    color: #0066cc;
}

.uc-content {
    flex: 1;
}

.uc-section {
    display: none;
}

.uc-section.active {
    display: block;
}

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

.uc-stat-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.uc-stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #0066cc;
}

.uc-login-prompt {
    text-align: center;
    padding: 50px 20px;
}

@media (max-width: 768px) {
    .uc-cabinet {
        flex-direction: column;
    }
    
    .uc-sidebar {
        width: 100%;
    }
}