/* Station Owner Control Panel Styles */
/* Matches RadioStar app styling: Bootstrap 4.5, Yanone Kaffeesatz font, #f2efe8 background */

/* Hero Section */
.station-owner-hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none !important;
}

.station-owner-hero .card-body {
    color: white;
}

.station-owner-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.station-owner-hero .lead {
    font-size: 1.3rem;
    margin: 1rem 0;
}

.station-owner-hero hr {
    background-color: rgba(255,255,255,0.3);
    height: 1px;
    border: none;
}

/* Section Headers */
.station-owner-section-header {
    font-weight: 600;
    margin: 0;
}

.section-header-success {
    background-color: #28a745;
    color: white;
}

.section-header-info {
    background-color: #17a2b8;
    color: white;
}

.section-header-warning {
    background-color: #ffc107;
    color: #212529;
}

.section-header-primary {
    background-color: #007bff;
    color: white;
}

/* Status Badges */
.badge-verified {
    background-color: #28a745;
}

.badge-pending {
    background-color: #ffc107;
    color: #212529;
}

.badge-rejected {
    background-color: #dc3545;
}

.badge-expired {
    background-color: #6c757d;
}

/* Cards */
.station-owner-card {
    border: 1px solid #dee2e6;
    transition: box-shadow 0.2s;
}

.station-owner-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.station-owner-card .card-header {
    font-weight: 600;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Tables */
.station-owner-table {
    font-size: 1rem;
}

.station-owner-table th {
    font-weight: 600;
    border-top: none;
}

.station-owner-table td {
    vertical-align: middle;
}

/* Verification Code Blocks */
.verification-code-block {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 1rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    position: relative;
}

.verification-code-block code {
    color: #ecf0f1;
}

/* Copy Button */
.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

/* Timeline Styles */
.station-owner-timeline {
    position: relative;
    padding-left: 2rem;
}

.station-owner-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #dee2e6;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -1.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid #dee2e6;
}

.timeline-icon.timeline-icon-success {
    border-color: #28a745;
    color: #28a745;
}

.timeline-icon.timeline-icon-warning {
    border-color: #ffc107;
    color: #ffc107;
}

.timeline-icon.timeline-icon-danger {
    border-color: #dc3545;
    color: #dc3545;
}

.timeline-icon.timeline-icon-primary {
    border-color: #007bff;
    color: #007bff;
}

.timeline-content {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
}

/* Guide Page Styles */
.guide-toc {
    position: sticky;
    top: 20px;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
}

.guide-toc-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.guide-toc ul {
    list-style: none;
    padding-left: 0;
}

.guide-toc ul li {
    margin-bottom: 0.5rem;
}

.guide-toc ul li a {
    color: #007bff;
    text-decoration: none;
}

.guide-toc ul li a:hover {
    text-decoration: underline;
}

.guide-section {
    scroll-margin-top: 80px;
    margin-bottom: 3rem;
}

.guide-section h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

.guide-section h3 {
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Step Cards */
.step-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1rem;
}

/* Comparison Table */
.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.comparison-table td,
.comparison-table th {
    padding: 0.75rem;
    vertical-align: middle;
}

/* Amendment Styles */
.amendment-card {
    border-left: 4px solid #007bff;
    margin-bottom: 1rem;
}

.amendment-card.amendment-approved {
    border-left-color: #28a745;
}

.amendment-card.amendment-rejected {
    border-left-color: #dc3545;
}

.amendment-card.amendment-pending {
    border-left-color: #ffc107;
}

/* Form Styles */
.station-owner-form .form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.station-owner-form .form-control,
.station-owner-form .form-select {
    font-size: 1rem;
}

.station-owner-form .form-text {
    font-size: 0.9rem;
    color: #6c757d;
}

.station-owner-form .required-field::after {
    content: " *";
    color: #dc3545;
}

/* Alert Styles */
.alert-station-owner {
    border-left: 4px solid #007bff;
}

.alert-station-owner.alert-warning {
    border-left-color: #ffc107;
}

.alert-station-owner.alert-danger {
    border-left-color: #dc3545;
}

.alert-station-owner.alert-success {
    border-left-color: #28a745;
}

/* Dashboard Quick Actions */
.quick-action-card {
    text-align: center;
    padding: 2rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 0.25rem;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    color: inherit;
}

.quick-action-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.quick-action-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.quick-action-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-action-desc {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Stats Cards */
.stats-card {
    text-align: center;
    padding: 1.5rem;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 0.95rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .station-owner-hero h1 {
        font-size: 1.75rem;
    }

    .guide-toc {
        position: relative;
        margin-bottom: 2rem;
    }

    .quick-action-card {
        margin-bottom: 1rem;
    }

    .verification-code-block {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
}

/* Accordion Styles (for FAQ) */
.accordion .card {
    border: 1px solid #dee2e6;
    margin-bottom: 0.5rem;
}

.accordion .card-header {
    background-color: #f8f9fa;
    padding: 0;
}

.accordion .btn-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 1rem;
    color: #212529;
    text-decoration: none;
    font-weight: 600;
}

.accordion .btn-link:hover {
    color: #007bff;
    text-decoration: none;
}

.accordion .card-body {
    padding: 1rem;
}
