@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #691101;
    --secondary-color: #F2C947;
    --background-color: #FFF7E3;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    margin: 0 auto;
    
    
}

.form-field {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-field label {
    display: block;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    text-align: left;
}

.input-field {
    width: 100%;
    height: 52px;
    padding: 0 40px 0 16px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    background-color: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: var(--primary-color);
    text-align: left;
    box-sizing: border-box;
}

.input-field::placeholder {
    color: #999;
}

.password-field-container {
    position: relative;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--primary-color);
    font-size: 18px;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    width: 24px;
    height: 24px;
}

.input-container {
    position: relative;
    width: 100%;
}

.input-spacer {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.coin-section {
    margin: 2rem 0;
    text-align: center;
}

.coin-image {
    width: 200px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

.coin-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: transparent;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.counter-btn:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.count {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
    min-width: 30px;
    text-align: center;
}

.price-display {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 1rem;
    font-weight: 500;
}

.register-form {
    text-align: left;
}

.button-container {
    text-align: center;
    margin-top: 2rem;
}

.payment-btn {
    width: 80%;
    height: 52px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    transition: all 0.3s ease;
}

.payment-btn:hover {
    background-color: #7a1501;
}

h5 {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 14px;
    font-weight: normal;
    color: #000;
}

h5 a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

h5 a:hover {
    text-decoration: underline;
}

.error-message {
    background-color: rgba(105, 17, 1, 0.1);
    color: var(--primary-color);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message::before {
    content: "⚠️";
}

.success-message {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 14px;
}

/* OTP Form Styles */
.otp-form {
    text-align: center;
}

.otp-form h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hint-text {
    color: #666;
    font-size: 14px;
    margin-top: 8px;
    display: block;
}

.text-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    margin-top: 1rem;
}

.verify-btn {
    width: 100%;
    max-width: 150px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin: 1.5rem auto;
    display: block;
    transition: all 0.3s ease;
}

.verify-btn:hover {
    background-color: #7a1501;
}

.resend-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 1rem;
    padding: 0;
}

.resend-btn:hover {
    color: #7a1501;
}

.resend-btn:disabled {
    color: #999;
    cursor: not-allowed;
    text-decoration: none;
}

/* Payment Page Styles */
.payment-details {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.user-details {
    margin: 2rem 0;
    text-align: left;
}

.user-details h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 1rem;
    text-align: center;
}

.user-details p {
    margin: 0.5rem 0;
    font-size: 16px;
    color: #333;
}

.order-summary {
    margin: 2rem 0;
    padding: 1rem;
    background-color: var(--background-color);
    border-radius: 12px;
}

.quantity-row,
.price-row,
.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 16px;
    color: var(--primary-color);
}

.total-row {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary-color);
    font-weight: 600;
    font-size: 18px;
}

.payment-form {
    margin-top: 2rem;
} 