/* Tin Can Clubs Frontend Styles */

#tcc-create-club-form {
    position: relative;
    width: 500px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

#tcc-join-club-form {
    position: relative;
    width: 500px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

#tcc-login-signup-form {
    position: relative;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.tcc-step {
    background: none; /* Yellow background as shown in design */
    border-radius: 8px;
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Shared heading styles */
.tcc-no-clubs h2{
    font-size: 42px;
    font-family: "Faunces";
    font-weight: 600;
    color: #000000;
}
.tcc-my-clubs-container {
    min-height: 500px;
    justify-content: center;
}
.tcc-no-clubs .tcc-btn {
    display:flex;
    align-items: center;
}

.tcc-no-clubsp {
    font-size: 24px;
    font-family: "Satoshi";
    font-weight: 700;
    line-height: 135%;
    color: #000000;
}
.tcc-step h2 {
    color: #000;
    margin: 0 0 10px 0;
    text-align: center;
    font-size: 35px;
    font-family: "Faunces";
    font-weight: 600;
    color: #000000;
}

.tcc-step p {
    font-size: 20px;
    color: #000;
    margin: 0 0 12px 0;
    text-align: center;
    font-family: 'Satoshi';
    font-weight: 700;
}
.tcc-section-label {
    display: block;
    font-size: 14px;
    font-family: 'Satoshi';
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#tcc-edit-profile-image-preview {
    height: 200px;
    width: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #000;
}
.tcc-upload-section {
    margin-top:12px;
}
.tcc-form-group {
    margin-bottom: 23px;
    position: relative;
}
#tcc-profile-form .tcc-checkbox-label {
    justify-content: center;
    display: flex;
}
.tcc-form-group input {
    max-height:61px;
}
.tcc-form-group input,
.tcc-form-group textarea {
    width: 100% !important;
    padding: 15px !important;
    border: 3px solid #000 !important;
    font-size: 20px !important;
    font-family: 'Satoshi' !important;
    font-weight: 700 !important;
    background: #fff !important;
    line-height: 1em !important;
}
.tcc-form-group input::placeholder {
    color:#808080;
}
.tcc-form-group textarea::placeholder {
    color:#808080;
}

.tcc-form-group input:focus,
.tcc-form-group textarea:focus {
    outline: none !important;
}

.tcc-form-group input.error,
.tcc-form-group textarea.error {
    border-color: #e74c3c;
}

.tcc-btn {
    background: #F4C400;
    border: 3px solid #000;
    padding: 22px 40px;
    font-size: 15px;
    font-family: 'Satoshi';
    font-weight:900;
    cursor: pointer;
letter-spacing: 2px;
    width: 100%;
    transition: all 0.3s ease;
    color:#000;
    display: flex;
    justify-content: center;
}

.tcc-btn:hover {
    transform: translateY(-2px);
}

.tcc-btn:active {
    transform: translateY(0);
}

.tcc-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.tcc-btn-disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
}

.tcc-btn-success {
    background: #28a745 !important;
    border-color: #1e7e34 !important;
    color: #fff !important;
}

.tcc-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    font-family: 'Satoshi';
    font-weight: 700;
    text-transform: uppercase;
    display: none; /* Hidden by default */
}

.tcc-error.show {
    display: block; /* Show when error class is added */
}

.tcc-character-count {
    font-size: 12px;
    color: #666;
    text-align: left;
    margin-bottom: 5px;
    font-family: 'Satoshi';
    font-weight: 500;
}

.tcc-character-count.over-limit {
    color: #e74c3c;
    font-weight: bold;
}
button#tcc-edit-profile-upload-cta {
    background: #F4C400;
    border: 3px solid #000;
    padding: 12px;
    font-size: 15px;
    font-family: 'Satoshi';
    font-weight: 900;
    cursor: pointer;
    letter-spacing: 2px;
    width: 100%;
    transition: all 0.3s ease;
    color: #000;
    text-transform: uppercase;
}

.tcc-image-upload {
    text-align: center;
    width:200px;
    height:auto;
    min-height:200px;
    border: 3px solid #000;
    background: #F4C400;
    position: relative;
    justify-content: center;
    align-items: center;
    display: flex;
    justify-self: center;
    padding: 20px 0px 20px 0px;
    flex-direction: column-reverse;
}
.tcc-message.success {
    display:none !important;
}

.tcc-image-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    top: 0;
    left: 0;
}

.tcc-upload-label {
    cursor: pointer;
    display: block;
    margin-bottom:0;
    order: 1;
}

.tcc-upload-text {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    font-family: 'Satoshi';
    font-weight: 700;
    background-color:#FADF6F;
    padding:14px 11px 14px 11px;
    line-height:1em;
}
/* Close button styling (if added to popup) */
.tcc-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tcc-close-btn:hover {
    color: #000;
}

/* Checkbox styling */
.tcc-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Satoshi', Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #000;
    margin: 15px 0;
}

.tcc-checkbox-label input[type="checkbox"] {
    display: none;
}

.tcc-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 3px solid #000;
    background: #fff;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
}
.success {
    display:none;
}

.tcc-checkbox-label input[type="checkbox"]:checked + .tcc-checkbox-custom {
    background: #F4C400;
}

.tcc-checkbox-label input[type="checkbox"]:checked + .tcc-checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
    font-size: 14px;
} 

.tcc-upload-subtext {
    display: block;
    font-size: 14px;
    color: #808080;
    margin-top:16px;
    font-family: 'Satoshi';
    font-weight: 700;
    font-size:16px;
    text-align:center;
}

.tcc-image-preview {
    display: none;
}

.tcc-image-preview.has-image {
    display: block;
    order: 2;
    margin-bottom: 10px;
}
.brx-popup-content 
{
    background-color: #fadf6f !important;
    width: auto !important;
    border: solid 12px #000 !important;
    position:relative !important;
    padding:0 !Important;
    min-width: 600px;
}
.brx-popup-content .brxe-shortcode {
    padding:36px;
}
.tcc-btn-primary {
    text-align:center;
    max-height:61px;
}
.brx-popup-content .bricks-button {
    padding:12px;
    position:absolute;
    right:0;
}
.tcc-image-preview img {
    border: 3px solid #000;
    width: 80%;
    width:150px;
    height:150px;
    object-fit:cover;
}

.tcc-resend-container {
    text-align: center;
    margin: 20px 0;
}

.tcc-resend-container button {
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    color: #000;
    font-family: 'Satoshi';
    font-weight: 700;
    text-transform: uppercase;
}

.tcc-resend-container button:disabled {
    opacity: 1;
    cursor: not-allowed;
    text-decoration: none;
}
.preview-container {
    display:flex;
    flex-direction: column-reverse;
}
.tcc-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 213, 71, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    z-index: 1000;
}

.tcc-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #333;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tcc-loading-overlay p {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Success checkmark animation */
.tcc-success-checkmark {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    animation: checkmarkAppear 0.3s ease-in-out;
}

.tcc-success-checkmark svg {
    animation: checkmarkScale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes checkmarkAppear {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkmarkScale {
    0% {
        transform: scale(0.5);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Button spinner */
.tcc-btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #000;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

.tcc-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    top: 0;
}

.tcc-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.tcc-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}
.tcc-avatar-grid {
    display: grid
;
    grid-template-columns: repeat(2, 100px);
    grid-auto-rows: 100px;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
#tcc-current-image-preview {
    border-radius: 50%;
    border: 3px solid #000;
    cursor: pointer;
    height: 150px;
    width: 150px;
    object-fit: cover;
}

button#tcc-upload-cta {
    background: #F4C400;
    border: 3px solid #000;
    padding: 12px 12px;
    font-size: 15px;
    font-family: 'Satoshi';
    font-weight: 900;
    cursor: pointer;
    letter-spacing: 2px;
    width: 100%;
    transition: all 0.3s ease;
    color: #000;
}
.tcc-image-picker-inline {
    display: flex;
        flex-direction: column;
        gap: 10px;
}
.tcc-section-lable {
    display: block;
    font-size: 14px;
    font-family: 'Satoshi';
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#tcc-edit-profile-image-preview {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
    
    .tcc-clickable-image:hover {
        transform: scale(1.05);
    }

.tcc-change-image-btn {
    display: block;
    font-size: 15px;
    font-weight: bold;
    color: #000;
    font-family: 'Satoshi';
    font-weight: 700;
    background-color: #F4C400;
    padding: 14px 11px 14px 11px;
    line-height: 1em;
    border: 3px solid black;
    text-transform: uppercase;
}
.tcc-avatar-option img {
    border-radius: 50%;
    border: 3px solid black;
    cursor: pointer;
}
input.tcc-readonly {
    background: lightgrey !important;
}
.tcc-form-label {
    color: #000;
    font-family: 'Satoshi';
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}
.tcc-profile-image-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    #tcc-create-club-form {
        max-width: 100%;
    }
    
    .tcc-step {
        padding: 20px;
    }
    
    .tcc-step h2 {
        font-size: 20px;
    }
    
    .tcc-step p {
        font-size: 14px;
    }
    
    .tcc-form-group input,
    .tcc-form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    #newsletter-form {
        border-bottom:2px;
    }
    .tcc-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .tcc-image-upload {
        padding: 20px 10px;
    }
    .tcc-step {
        min-height:none;
}

/* Close button styling (if added to popup) */
.tcc-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tcc-edit-profile-form .tcc-step {
    padding:0;
}
div#tcc-edit-profile-image-picker {
    background: none;
    border: none;
}
#tcc-edit-profile-form {
    width:100%;
    padding:0px 32px 0px 32px;
}
.tcc-form-label {
    font-size:11px;
}
.tcc-close-btn:hover {
    color: #000;
}
.brx-popup-content .brxe-shortcode {
    padding:0;
}
.tcc-form-group {
    margin-bottom:12px;
}
/* Checkbox styling */
.tcc-checkbox-label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    font-family: 'Satoshi', Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #000;
    margin: 15px 0;
    justify-content:center;
}

.tcc-checkbox-label input[type="checkbox"] {
    display: none;
}

.tcc-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 3px solid #000;
    background: #fff;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
}
.brx-popup-content {
    height:100%;
    min-width: 100%;
}
.brx-popup-content .brxe-shortcode {
    padding:0;
}

.tcc-checkbox-label input[type="checkbox"]:checked + .tcc-checkbox-custom {
    background: #F4C400;
}

.tcc-checkbox-label input[type="checkbox"]:checked + .tcc-checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
    font-size: 14px;
}
.tcc-btn-primary {
    max-height:46px;
    display: flex;
    justify-content: center;
}

/* Edit Profile Specific Styles */
#tcc-edit-profile-form .tcc-step {
    display: flex !important;
    padding:0 !important;
}
.tcc-upload-section button {
    background: #F4C400;
    border: 3px solid #000;
    padding: 22px 40px;
    font-size: 15px;
    font-family: 'Satoshi';
    font-weight: 900;
    cursor: pointer;
    letter-spacing: 2px;
    width: 100%;
    transition: all 0.3s ease;
    color: #000;
}


.tcc-profile-image-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.tcc-current-profile-image {
    text-align: center;
    margin-bottom: 20px;
}

.tcc-current-profile-image {
    position: relative;
    display: inline-block;
    margin-bottom: 0px;
}

.tcc-current-profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #000;
    object-fit: cover;
}

.tcc-clickable-image {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.tcc-clickable-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.tcc-click-hint {
    font-family: 'Satoshi';
    font-size: 12px;
    font-weight: 500;
    color: #666;
    text-align: center;
    margin: 8px 0 0 0;
    opacity: 0.8;
}

.tcc-section-label {
    font-family: 'Satoshi';
    font-weight: 700;
    font-size: 16px;
    color: #000;
    margin: 0 0 15px 0;
    text-align: center;
}

.tcc-section-label {
    font-family: 'Satoshi';
    font-weight: 700;
    font-size: 16px;
    color: #000;
    margin: 0 0 15px 0;
    text-align: center;
}

.tcc-upload-section {
    text-align: center;
}

.tcc-form-label {
    display: block;
    font-family: 'Satoshi';
    font-weight: 700;
    font-size: 16px;
    color: #000;
    margin-bottom: 8px;
}

.tcc-readonly-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    margin-left: 8px;
}
.tcc-form-group input,
.tcc-form-group textarea {
    font-size: 14px !important;
}
.tcc-readonly-indicator svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.tcc-field-requirement {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #666;
    margin-top: 2px;
    font-style: italic;
}

.tcc-readonly {
    background-color: #f8f8f8 !important;
    cursor: not-allowed !important;
    opacity: 0.8;
    border-style: dashed !important;
    color: #666 !important;
    position: relative;
}

.tcc-readonly::after {
    content: "🔒";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.6;
}

/* Inline Image Picker */

.tcc-avatar-selection {
    margin-bottom: 0px;
}

.tcc-avatar-grid {
    display: grid;
        grid-template-columns: repeat(2, 75px);
        grid-auto-rows: 75px;
        gap: 10px;
        align-items: center;
        justify-content: center;
}
.tcc-avatar-option {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tcc-avatar-option img {
    width: 70px;
    height: 70px;
    border: 3px solid #333;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.tcc-avatar-option:hover img,
.tcc-avatar-option.selected img {
    border-color: #000;
    transform: scale(1.1);
}

.tcc-avatar-option.selected::after {
    content: "✓";
    position: absolute;
    top: -5px;
    right: -5px;
    background: #000;
    color: #F4C400;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.tcc-upload-cta {
    background: #fff;
    border: 3px solid #000;
    padding: 15px 20px;
    font-size: 16px;
    font-family: 'Satoshi';
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.tcc-upload-cta:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}

.tcc-upload-cta svg {
    transform: rotate(180deg);
}

/* Mobile styles for edit profile */
@media (max-width: 768px) {
    
    .tcc-avatar-option img {
        width: 60px;
        height: 60px;
    }
    
    .tcc-current-profile-image img {
        width: 100px !important;
        height: 100px !important;
        margin:0;
    }
    .tcc-image-picker-inline {
        margin:0;
        padding:0 !important;
    }
    

    
    .tcc-image-picker-inline {
        padding: 15px;
        margin-top: 10px;
    }
    
    .tcc-upload-cta {
        padding: 12px 16px;
        font-size: 14px;
    }
}
}