@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

.top-bar {
    background: linear-gradient(
        135deg,
        rgba(243, 194, 17, 0.377) 0%,     
        rgba(240, 193, 25, 0.295) 50%,   
        rgba(243, 196, 24, 0.377) 100%    
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(12px, 3vw, 16px) clamp(16px, 4vw, 24px);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 30%,
        transparent 70%
    );
    border-radius: 50px;
    opacity: 0.6;
    pointer-events: none;
}

.top-bar::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.3),
        rgba(245, 216, 110, 0.2),
        rgba(255, 255, 255, 0.3),
        rgba(245, 216, 110, 0.2)
    );
    border-radius: 52px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

@media (min-width: 768px) {
    .top-bar {
        width: calc(100%);
        max-width: min(1000px, 85vw);
        padding: clamp(12px, 3vw, 16px) clamp(20px, 4vw, 28px);
    }
}

@media (min-width: 924px) {
    .top-bar {
        width: calc(100%);
        max-width: min(1000px, 80vw);
        padding: 14px clamp(24px, 4vw, 32px);
    }
}

@media (max-width: 480px) {
    .top-bar {
        max-width: min(1000px, 95vw);
        padding: clamp(10px, 3vw, 14px) clamp(14px, 4vw, 18px);
        margin-bottom: 15px;
    }
}

@media (max-width: 360px) {
    .top-bar {
        width: calc(100% - 20px);
        padding: 8px 12px;
        margin-bottom: 12px;
    }
    
    .logo {
        height: 40px;
        width: 200px;
    }
}

.page-conspect-create .container {
    flex-direction: column;
    gap: 16px;
}

.page-conspect-create main {
    display: flex;
    flex-direction: column;
    padding-bottom: 32px;
}

.glass-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 18px;
}

.card-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 900px) {
    .card-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 20px;
    }
    
    .manual-card {
        grid-row: 1;
    }
    
    .audio-card {
        grid-row: 2;
    }
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.manual-card .accent-btn,
.audio-card .accent-btn {
    align-self: flex-start;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.text-input-title,
.text-input {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 15px;
    padding: 14px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    resize: vertical;
    min-height: 52px;
}

.text-input {
    min-height: 160px;
}

.text-input-title:focus,
.text-input:focus {
    outline: none;
    border-color: rgba(245, 216, 110, 0.8);
    box-shadow: 0 0 0 4px rgba(245, 216, 110, 0.16);
    background: rgba(0, 0, 0, 0.35);
}

.helper-text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.quick-action {
    position: relative;
    padding: 24px 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(255, 255, 255, 0.12) 100%
    );
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.quick-action:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 216, 110, 0.45);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.quick-action img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    color: #ffffff;
}

.quick-action span {
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .glass-card {
        padding: 20px;
        border-radius: 20px;
    }

    .accent-btn {
        width: 100%;
        justify-content: center;
    }
}