/* Subscription Form */
.subscription-form {
    background: white;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 2em 0;
}

.subscription-form #paypal-button-container {
    width: 80%;
    margin: 0 auto;
}

/* Subscription Tiers */
.subscription-tiers {
    margin-bottom: 2rem;
}

.subscription-tier {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.subscription-tier:hover {
    border-color: #666;
}

.subscription-tier input[type="radio"] {
    margin-right: 1rem;
}

.subscription-tier label {
    cursor: pointer;
    font-size: 1.1rem;
}

.subscription-tier input[type="radio"]:checked+label {
    font-weight: bold;
    color: #333;
}

/* Label-like text in paragraphs */
.streaming-notice p {
    margin: 0.7em 0;
    line-height: 1.6;
}

/* Target paragraphs that have text followed by a colon */
.streaming-notice p:has(strong:first-child) {
    display: flex;
    align-items: baseline;
    gap: 0.5em;
}

.streaming-notice p strong:first-child {
    min-width: 120px;
    color: #333;
}

/* Streaming Link */
.streaming-notice .streaming-link-container {
    text-align: center;
    margin: 2em 0 3em;
}

.streaming-notice .streaming-link {
    display: inline-flex;
    align-items: center;
    background: #7a190f;
    color: white;
    text-decoration: none;
    padding: 1em 2em;
    border-radius: 500px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.2s ease;
    text-align: center;
}

.streaming-notice .streaming-link::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #ffffff;
    margin-right: 12px;
    position: relative;
    top: 1px;
}

.streaming-notice .streaming-link:hover {
    background: #8f1d11;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(122, 25, 15, 0.3);
}

.streaming-notice .streaming-link:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Details/Troubleshooting Section */
.details-content {
    padding: 1.5em;
    background: #f8f9fa;
    border-radius: 4px;
    margin: 0.8em 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.details-content ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.details-content button {
    margin: 1em 0;
}

details {
    margin: 1em 0;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
}

details summary {
    font-weight: bold;
    cursor: pointer;
    padding: 1em;
    display: list-item !important;
    list-style-type: disclosure-closed;
    background: #f8f9fa;
    border-radius: 6px;
}

details[open] summary {
    list-style-type: disclosure-open;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 6px 6px 0 0;
}

details summary:hover {
    color: #666;
    background: #f0f2f5;
}

/* Gift Subscription Form */
.gift-subscription {
    max-width: 800px;
    margin: 2em auto;
}

.gift-subscription h2 {
    color: #333;
    margin-bottom: 1em;
    font-size: 1.8em;
}

.gift-subscription p {
    margin: 0.7em 0;
    line-height: 1.6;
}

#gift-subscription-form {
    background: white;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 2em 0;
}

#gift-subscription-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5em;
    color: #444;
}

#gift-subscription-form input,
#gift-subscription-form textarea {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1.5em;
    font-size: 1em;
}

#gift-subscription-form textarea {
    min-height: 100px;
    resize: vertical;
}

#gift-subscription-form input:focus,
#gift-subscription-form textarea:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 1px #666;
}

#gift-subscription-form label .required,
.required-note,
label[for="recipient-email"]::after {
    color: #dc3232;
}

label[for="recipient-email"]::after {
    content: "*";
    margin-left: 2px;
}

#gift-subscription-form #paypal-button-container-gift {
    width: 80%;
    margin: 0 auto;
}

.required-note {
    font-size: 0.9em;
    margin: -0.5em 0 1.5em;
}

/* Gift Subscriptions Table */
.gift-subscriptions-table {
    width: 100%;
    margin-top: 2em;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gift-subscriptions-table th,
.gift-subscriptions-table td {
    padding: 1em;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.gift-subscriptions-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.gift-subscriptions-table tr:last-child td {
    border-bottom: none;
}

.gift-subscriptions-table tr:hover td {
    background-color: #f8f9fa;
}

/* Gift Registration Form */
.gift-registration-form {
    max-width: 500px;
    margin: 2em auto;
    padding: 2em;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gift-registration-form h2 {
    margin-bottom: 1em;
    color: #333;
    font-size: 1.8em;
}

.form-row {
    margin-bottom: 1.5em;
}

.form-row label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
    color: #444;
}

.form-row input {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.form-row input:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 1px #666;
}

.description {
    font-size: 0.9em;
    color: #666;
    margin: 0.8em 0 1.5em;
    line-height: 1.6;
}

#password-strength-meter {
    height: 4px;
    margin: 1em 0;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
}

/* Action Links (Logout/Register) */


.register-section p {
    margin-bottom: 1em;
}

.register-button-container {
    text-align: center;
}


/* Secondary action link (logout) */
.subscription-content .action-link {
    display: inline-block;
    padding: 0.3em 1em;
    border: 2px solid #690301;
    border-radius: 500px;
    color: #690301;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.subscription-content .action-link:hover {
    background: #690301;
    color: white;
    transform: translateY(-1px);
    border-bottom: 2px solid #690301 !important;
    text-decoration: none;
}

.subscription-content .action-link:active {
    transform: translateY(0);
}

/* Primary action link (register) */
.register-section .action-link {
    display: inline-flex;
    align-items: center;
    background: #7a190f;
    color: white;
    text-decoration: none;
    padding: 1em 2em;
    border-radius: 500px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.2s ease;
    border: none;
}

.register-section .action-link:hover {
    background: #8f1d11;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(122, 25, 15, 0.3);
    border: none !important;
    text-decoration: none;
}

.register-section .action-link:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Notices */
.notice {
    padding: 1em 1.5em;
    margin: 1em 0;
    border-radius: 4px;
    border-left: 4px solid transparent;
}

.notice p {
    margin: 0;
    line-height: 1.6;
}

.notice-warning {
    background-color: #fff8e5;
    border-left-color: #ffb900;
}

/* Error Message */
.subscription-content .error {
    padding: 1em 1.5em;
    margin-bottom: 1em;
    border-radius: 4px;
    border-left: 4px solid #dc3232;
    background-color: #fef7f7;
    color: #dc3232;
    line-height: 1.6;
}

/* Account Links */
.account-links {
    display: flex;
    justify-content: flex-end;
    gap: 1em;
    margin-bottom: 1em;
    margin-top: -1.5em;
}

.subscription-content {
    position: relative;
}