body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: url('https://www.naturemade.com/cdn/shop/articles/healthy-foods-to-eat.jpg?v=1611988563') no-repeat center center/cover;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: white;
}


header {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.logo {
    font-size: 36px;
    font-weight: 700;
    padding-left: 20px;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    display: block;
    flex-grow: 1;
    text-decoration: none;
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo a:hover {
    color: #ff5722;
    text-decoration: underline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #ff5722;
    background-color: rgba(255, 87, 34, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    margin-right: 20px;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

footer {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: auto;
    font-size: 14px;
    letter-spacing: 1px;
}

.register-container {
    margin: 8vh auto;
    width: 90%;
    max-width: 450px;
}

.register-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.register-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.register-header {
    text-align: center;
    margin-bottom: 1.8rem;
}

.register-header h2 {
    color: #ff5722;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.register-header h2 i {
    margin-right: 0.8rem;
}

.underline {
    width: 80px;
    height: 3px;
    background: #ff5722;
    margin: 0 auto;
    border-radius: 3px;
}

.input-group {
    margin-bottom: 1.5rem;
    width: 90%;
}

.input-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: #555;
    font-weight: 600;
}

.input-group label i {
    margin-right: 0.6rem;
    color: #ff5722;
}

.input-group input {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: #ff5722;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.2);
}

.register-button {
    width: 100%;
    background: linear-gradient(to right, #4CAF50, #2E7D32);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s;
    margin-top: 1rem;
}

.register-button:hover {
    background: linear-gradient(to right, #2E7D32, #1B5E20);
    transform: translateY(-2px);
}

.register-button i {
    transition: transform 0.3s;
}

.register-button:hover i {
    transform: translateX(5px);
}

.register-footer {
    text-align: center;
    margin-top: 1.8rem;
    color: #666;
    font-size: 0.95rem;
}

.login-link {
    color: #ff5722;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.login-link:hover {
    color: #e64a19;
    text-decoration: underline;
}

.text-warning {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
}