* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('img/otod3_bg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-box {
    background-color: #F0F0F0;
    border-radius: 20px;
    padding: 40px 50px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #000;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    /* display: flex; */
    /* justify-content: center; */
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 12px 15px;
}

.input-wrapper .icon {
    font-size: 18px;
    margin-right: 10px;
    color: #999;
}

.input-field {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    background: transparent;
}

.input-field::placeholder {
    color: #999;
}

.submit-btn {
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #333;
}

.signup-text {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.signup-text a {
    color: #0066FF;
    text-decoration: none;
    font-weight: 500;
}

.signup-text a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close:hover,
.close:focus {
    color: #000;
}

.success-message,
.error-message {
    text-align: center;
    padding: 20px 0;
}

.success-message h2 {
    color: #28a745;
    font-size: 24px;
    margin-bottom: 15px;
}

.error-message h2 {
    color: #dc3545;
    font-size: 24px;
    margin-bottom: 15px;
}

.success-message p,
.error-message p {
    color: #333;
    font-size: 16px;
    margin: 10px 0;
}

.recipient-info {
    font-weight: bold;
    color: #000;
    margin: 20px 0;
}

.download-btn {
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #218838;
}
