/* Creator Page Styles */

.creator-page-container {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 1rem;
}

@media (min-width: 640px) {
    .creator-page-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .creator-page-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Creator Header */
.creator-header {
    background: linear-gradient(to bottom right, rgb(30 41 59), rgb(15 23 42));
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    border: 1px solid rgb(51 65 85 / 0.5);
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Privacy Notice */
.privacy-notice {
    background: linear-gradient(135deg, rgb(245 158 11 / 0.1), rgb(251 191 36 / 0.1));
    border: 1px solid rgb(245 158 11 / 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    backdrop-filter: blur(8px);
}

.privacy-notice-icon {
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, rgb(245 158 11), rgb(251 191 36));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    flex-shrink: 0;
}

.privacy-notice-content {
    flex: 1;
}

.privacy-notice-title {
    color: rgb(251 191 36);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.privacy-notice-message {
    color: rgb(250 204 21);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.creator-avatar-large {
    width: 8rem;
    height: 8rem;
    background: linear-gradient(to right, rgb(239 68 68), rgb(234 88 12));
    border-radius: 9999px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgb(239 68 68 / 0.5);
}

.creator-name {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.creator-bio {
    color: rgb(148 163 184);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.creator-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: rgb(203 213 225);
}

.creator-stat-badge {
    padding: 0.5rem 1rem;
    background-color: rgb(15 23 42 / 0.5);
    border-radius: 0.5rem;
    border: 1px solid rgb(51 65 85 / 0.5);
}

/* Support Section */
.support-section {
    background: linear-gradient(to bottom right, rgb(30 41 59), rgb(15 23 42));
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    border: 1px solid rgb(51 65 85 / 0.5);
    padding: 2rem;
    margin-bottom: 2rem;
}

.support-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

/* Form Errors */
.form-errors {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: rgb(239 68 68 / 0.1);
    border: 1px solid rgb(239 68 68 / 0.5);
    border-radius: 0.5rem;
}

.form-errors-title {
    color: rgb(248 113 113);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-errors-list {
    list-style-type: disc;
    list-style-position: inside;
    color: rgb(252 165 165);
    font-size: 0.875rem;
}

/* Amount Selection */
.amount-section {
    margin-bottom: 2rem;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .amount-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.amount-btn {
    border: 2px solid rgb(51 65 85);
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
}

.amount-btn:hover {
    border-color: rgb(239 68 68);
    background-color: rgb(51 65 85 / 0.5);
}

.amount-btn.selected {
    border-color: rgb(239 68 68);
    background-color: rgb(239 68 68 / 0.2);
}

.amount-btn:nth-child(2):hover {
    border-color: rgb(249 115 22);
}

.amount-btn:nth-child(2).selected {
    border-color: rgb(249 115 22);
    background-color: rgb(249 115 22 / 0.2);
}

.amount-hint {
    font-size: 0.75rem;
    color: rgb(100 116 139);
    margin-top: 0.5rem;
}

/* Form Fields */
.creator-page-container .form-field {
    margin-bottom: 1.5rem;
}

.creator-page-container .form-field-large {
    margin-bottom: 2rem;
}

.anonymous-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.anonymous-label {
    font-size: 0.875rem;
    color: rgb(203 213 225);
    cursor: pointer;
}

.char-counter {
    font-size: 0.75rem;
    color: rgb(100 116 139);
    margin-top: 0.25rem;
}

/* Payment Methods */
.payment-methods-section {
    margin-bottom: 2rem;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.payment-provider-label {
    position: relative;
    cursor: pointer;
}

.payment-provider-input {
    display: none;
}

.payment-provider-card {
    border: 2px solid rgb(51 65 85);
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.3s;
}

.payment-provider-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.payment-provider-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-provider-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
}

.payment-provider-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.payment-provider-text {
    flex: 1;
}

.payment-provider-name {
    font-weight: 700;
    color: white;
    font-size: 1.125rem;
    margin-bottom: 0.125rem;
}

.payment-provider-type {
    font-size: 0.75rem;
    color: rgb(148 163 184);
}

.payment-check-icon {
    display: none;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background-color: rgb(34 197 94);
    align-items: center;
    justify-content: center;
}

.payment-provider-input:checked~.payment-provider-card {
    border-color: var(--brand-color);
}

.payment-provider-input:checked~.payment-provider-card .payment-check-icon {
    display: flex;
}

.payment-check-icon svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

/* Submit Button */
.support-submit-btn {
    width: 100%;
    display: block;
    text-align: center;
    background: linear-gradient(to right, rgb(239 68 68), rgb(234 88 12));
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.support-submit-btn:hover {
    box-shadow: 0 25px 50px -12px rgb(239 68 68 / 0.5);
    transform: translateY(-0.25rem);
}

/* Recent Supporters */
.recent-supporters {
    background: linear-gradient(to bottom right, rgb(30 41 59), rgb(15 23 42));
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    border: 1px solid rgb(51 65 85 / 0.5);
    padding: 2rem;
}

.recent-supporters-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.supporters-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.supporter-item {
    border-bottom: 1px solid rgb(51 65 85 / 0.5);
    padding-bottom: 1rem;
}

.supporter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.supporter-name {
    font-weight: 700;
    color: white;
}

.supporter-amount {
    color: rgb(239 68 68);
    font-weight: 700;
}

.supporter-message {
    color: rgb(148 163 184);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.supporter-time {
    font-size: 0.75rem;
    color: rgb(100 116 139);
}

/* Error Messages */
.error-message {
    color: rgb(248 113 113);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.error-message.hidden {
    display: none;
}

/* Input Group for Amount */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 1rem;
    color: rgb(148 163 184);
    font-weight: 500;
    pointer-events: none;
}

.input-group input {
    padding-left: 2.5rem !important;
}
