/* CKU styles for text version */
#custom-keychain-section {
    margin: 15px 0;
    padding: 10px;
    background: #daffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f6;
    width: 100%;
}

.upload-header {
    text-align: center;
    margin-bottom: 5px;
}

.upload-header h3 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.upload-header p {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin: 0;
}

.upload-container {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 5px;
    justify-content: space-between;
}

.upload-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e6edf4;
    min-width: 140px;
    position: relative;
}

.upload-btn {
    width: 100%;
    text-align: center;
    position: relative;
}

.upload-btn input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d9e6;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: #ffffff;
    margin-top: 10px;
}

.upload-btn input[type="text"]:focus {
    border-color: #a29bfe;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
    outline: none;
}

.upload-btn label {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border-radius: 30px;
    padding: 10px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    gap: 3px;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.25);
}

.upload-btn label:hover {
    background: linear-gradient(135deg, #5d4fcf, #8e7ef7);
    transform: translateY(-2px);
}

.upload-btn label i {
    font-size: 18px;
}

.upload-btn label span {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.special-instructions, .whatsapp-section {
    margin-top: 10px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e6edf4;
}

.instructions-header, .whatsapp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
}

.instructions-header h4, .whatsapp-header h4 {
    font-size: 13px;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.instructions-header i {
    color: #6c5ce7;
    font-size: 18px;
}

.whatsapp-header i {
    color: #25D366;
    font-size: 18px;
}

.instructions-input input, .whatsapp-input input {
    width: 100%;
    padding: 7px 15px;
    border: 1px solid #d1d9e6;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: #ffffff;
}

.whatsapp-input input {
    font-size: 18px;
    font-weight: 550;
}

.whatsapp-input input:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
    outline: none;
}

.instructions-input input:focus {
    border-color: #a29bfe;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
    outline: none;
}

.hint {
    font-size: 10px;
    color: #7f8c8d;
    font-style: italic;
    margin-top: 3px;
    line-height: 1.1em;
}

.upload-status {
    margin-top: 10px;
    padding: 5px 15px;
    border-radius: 8px;
    background: #f0f7ff;
    border: 1px solid #d1e3f8;
    display: flex;
    align-items: center;
    color: #3498db;
    font-size: 13px;
    font-weight: 500;
}

.upload-status i {
    margin-right: 8px;
    font-size: 16px;
}

.status-success {
    background: #eafaf1;
    border-color: #c5f0d1;
    color: #27ae60;
}

.status-error {
    background: #fef0f0;
    border-color: #fde2e2;
    color: #e74c3c;
}

/* Mini cart and other displays */
.minicart-text, .minicart-instructions, .minicart-whatsapp {
    font-size: 12px;
    color: #4a5568;
    margin-top: 4px;
    padding-left: 5px;
    border-left: 2px solid #e2e8f0;
}

.minicart-whatsapp {
    border-left-color: #25D366;
}

/* Admin display */
.custom-text-admin, .special-instructions-admin, .whatsapp-number-admin {
    margin: 8px 0;
    padding: 5px 10px;
    background: #f9f9ff;
    border-left: 3px solid #a29bfe;
    font-size: 13px;
}

.whatsapp-number-admin {
    border-left-color: #25D366;
}

.whatsapp-link-admin {
    color: #25D366 !important;
    text-decoration: none;
    font-weight: 500;
}

.whatsapp-link-admin:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .upload-container {
        flex-wrap: wrap;
    }
    .upload-card {
        min-width: calc(50% - 8px);
    }
}

@media (max-width: 480px) {
    .upload-container {
        flex-wrap: wrap;
    }
    .upload-card {
        min-width: 47%;
    }
}