.workspace-admin {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
}

.workspace-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 30px;
}

.workspace-header h1 {
    font-size: 2.2rem;
    color: #1e293b;
    margin: 0;
    font-weight: 800;
}

.workspace-header h1 span {
    color: #3b82f6;
}

.workspace-header p {
    color: #64748b;
    font-size: 1.1rem;
    margin-top: 8px;
}

.badge.owner {
    background: #fef3c7;
    color: #92400e;
    padding: 8px 16px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid #f1f5f9;
}

.btn-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    transition: color 0.2s;
}

.btn-profile:hover {
    color: #3b82f6;
}

.avatar {
    width: 36px;
    height: 36px;
    background: #3b82f6;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-logout {
    color: #94a3b8;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.btn-logout:hover {
    color: #ef4444;
}

.workspace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.app-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    border-color: var(--app-color);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: #f8fafc;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.card-icon i {
    font-size: 1.8rem;
    color: var(--app-color);
}

.app-card:hover .card-icon {
    background: var(--app-color);
}

.app-card:hover .card-icon i {
    color: #fff;
}

.card-info h3 {
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 700;
}

.card-info p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.card-link {
    margin-top: 30px;
    color: var(--app-color);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.card-link i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.card-link:hover i {
    transform: translateX(4px);
}

.status-badge.soon {
    background: #f1f5f9;
    color: #94a3b8;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 30px;
    display: inline-block;
}

.footer-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 24px;
    padding: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-card p {
    color: #94a3b8;
    max-width: 600px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-help {
    padding: 12px 24px;
    background: #3b82f6;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.btn-help:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.quota-row {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 40px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.quota-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.quota-label {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
}

.quota-stats {
    font-size: 0.9rem;
    color: #64748b;
}

.quota-progress-bg {
    height: 10px;
    background: #f1f5f9;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.quota-progress-bar {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease-out;
}

.quota-details {
    display: flex;
    gap: 25px;
    font-size: 0.85rem;
    color: #94a3b8;
    align-items: center;
}

.quota-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-upgrade-short {
    margin-left: auto;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Profile styles */
.workspace-profile-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
    border: 1px solid #f1f5f9;
}

.profile-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.profile-header h1 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 8px;
    font-weight: 800;
}

.profile-header p {
    color: #64748b;
}

.form-section {
    margin-bottom: 40px;
}

.form-section h3 {
    font-size: 1.1rem;
    color: #334155;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.section-help {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 15px;
    margin-top: -15px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-col {
    flex: 1;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-actions {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
}

.btn-save {
    padding: 14px 28px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
