.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    margin: 0;
}

.register-card {
    background-color: var(--bg-card);
    border-radius: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
    width: 100%;
    max-width: 1250px;
    box-sizing: border-box;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-title {
    color: #FF914D;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.register-phrase {
    color: #10C0DF;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.field {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    width: 100%;
}

.register-input {
    background-color: #D9D9D9;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-sizing: border-box;
    font-size: clamp(0.9rem, 3vw, 1rem);
    padding: 0.75rem 1rem;
    width: 100%;
    max-width: 400px;
    margin-top: 0.2rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.register-input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2rem;
}

.register-input[type="select"] {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><polygon fill='%2310C0DF' points='0,0 12,0 6,12'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
}

.register-input:hover {
    border-color: #10C0DF;
    box-shadow: 0 0 5px rgba(16, 192, 223, 0.5);
}

.register-input:focus {
    background-color: #ffffff;
    border-color: #10C0DF;
    box-shadow: 0 0 5px rgba(16, 192, 223, 0.5);
    outline: none;
}

.register-input::placeholder {
    color: #999;
    opacity: 0.8;
}

.button.next-button {
    background-color: #FF914D;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
    color: white;
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: bold;
    padding: 1rem;
    text-align: center;
    width: 100%;
    max-width: 150px;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
    text-decoration: none;
    margin-left: 1rem;
}

.button.next-button:hover {
    background-color: #a55e32;
    color: #000000;
}

.button.next-button:active {
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(2px);
}

.register-text {
    color: var(--text);
    display: block;
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.register-text1 {
    color: #333;
    display: block;
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: bold;
    margin-bottom: -1em;
}

.newaccount-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.5rem;
    text-align: center;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.new-account-link {
    color: #FF914D;
    font-weight: bold;
    text-decoration: none;
}

.new-account-link:hover {
    text-decoration: underline;
}

.next-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.register-logo img {
    width: clamp(200px, 30vw, 250px);
    height: clamp(200px, 30vw, 250px);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin-right: 0.5rem;
    margin-top: -2rem;
}

.password-wrapper {
    position: relative;
    width: 30%;
}

.eye-button {
    position: absolute;
    top: 35%;
    right: 0.5rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
}

@media (max-width: 768px) {
    .register-container {
        padding: 0;
        min-height: 100vh;
        margin-top: -5rem;
    }

    .register-card {
        padding: 1.5rem;
        max-width: 90%;
        border-radius: 15px;
        min-height: 90vh;
        margin-top: 5rem;
    }

    .register-input {
        width: 100%;
        max-width: 100%;
        padding: 0.75rem 1rem;
        font-size: clamp(0.9rem, 2.8vw, 1rem);
    }

    .button.next-button {
        width: 45%;
        max-width: 100%;
        margin-left: 0;
    }

    .register-logo img {
        width: clamp(150px, 25vw, 200px);
        height: clamp(150px, 25vw, 200px);
        margin-top: -1rem;
    }
    
    .password-wrapper {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .register-title {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }

    .register-phrase {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
    }

    .register-card {
        padding: 1rem;
        min-height: 95vh;
    }

    .register-input {
        width: 100%;
        max-width: 100%;
        padding: 0.7rem 0.9rem;
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    }

    .register-text {
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    }
}