/* Form Layout */
form {
    max-width: 600px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 0.3s;
}

.form-section {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

/* Form Elements */
label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    color: #d7f7ff;
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: monospace;
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="text"]:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #d7f7ff;
    outline: none;
    box-shadow: 0 0 15px rgba(215, 247, 255, 0.2);
}

select {
    background: black;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    font-family: monospace;
    font-size: 16px;
    width: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #d7f7ff;
    outline: none;
    box-shadow: 0 0 15px rgba(215, 247, 255, 0.2);
}

/* Checkboxes */
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-right: 10px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-wrapper:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Submit Button */
input[type="submit"] {
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    margin-top: 40px;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    color: black;
    cursor: pointer;
    font-family: monospace;
    font-weight: bold;
    transition: all 0.3s ease;
}

input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

input[type="submit"].locked {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    background: #666;
}

/* Form Sections */
.section-header {
    font-size: 24px;
    color: #ffd7d7;
    margin: 20px 0 15px;
    border-bottom: 1px solid rgba(255, 215, 215, 0.3);
    padding-bottom: 8px;
}

.field-hint {
    font-size: 14px;
    color: rgba(215, 247, 255, 0.7);
    margin-top: 5px;
}

.required::after {
    content: ' *';
    color: #ff6b6b;
    font-weight: bold;
}

/* Wallet Section */
.wallet-section {
    margin-bottom: 20px;
}

.wallet-entry {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.wallet-entry select {
    width: 150px;
}

.wallet-entry input {
    flex: 1;
}

.add-wallet-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 15px;
    cursor: pointer;
    font-family: monospace;
    transition: all 0.3s ease;
}

.add-wallet-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.remove-wallet {
    background: rgba(255, 99, 99, 0.2);
    border: none;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    font-family: monospace;
    transition: all 0.3s ease;
    min-width: 40px;
}

.remove-wallet:hover {
    background: rgba(255, 99, 99, 0.4);
}

.wallet-info {
    font-size: 16px;
    line-height: 2;
    color: #ffd7d7;
    padding: 15px;
    border: 1px solid rgba(255, 215, 215, 0.3);
    margin-bottom: 15px;
    background: rgba(255, 215, 215, 0.05);
}

/* Ritual Section */
.ritual-section {
    background: rgba(255, 99, 99, 0.05);
    border: 1px solid rgba(255, 99, 99, 0.2);
    padding: 15px;
    margin-top: 20px;
}

.ritual-checkbox {
    background: rgba(255, 215, 215, 0.05);
}

.ritual-emoji {
    font-size: 20px;
    margin-right: 8px;
}

.oath-text {
    font-size: 20px;
    color: #ff6b6b;
    margin: 15px 0;
    font-style: italic;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

/* Promise Groups */
.promise-group {
    margin-bottom: 15px;
    opacity: 1;
    transition: all 0.3s ease;
}

.second-promise,
.third-promise {
    opacity: 0;
    height: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.second-promise.visible,
.third-promise.visible {
    opacity: 1;
    height: auto;
    margin-top: 15px;
}

.ritual-intro {
    font-size: 18px;
    color: #d7f7ff;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 0.3s;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .wallet-entry {
        flex-direction: column;
        gap: 8px;
    }
    .wallet-entry select {
        width: 100%;
    }
} 