@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

* {
    box-sizing: border-box;
}

body {
    background: #f6f5f7;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    /* Copied from login.css */
    margin: 0;
    padding: 0;
    background: url('starfish.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Starry Night Background */
.stars-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; }
#stars { width: 1px; height: 1px; background: transparent; box-shadow: /* ... */ 1260px 2000px #FFF; animation: animStar 50s linear infinite; }
#stars2 { width: 2px; height: 2px; background: transparent; box-shadow: /* ... */ 1721px 1600px #FFF; animation: animStar 100s linear infinite; }
#stars3 { width: 3px; height: 3px; background: transparent; box-shadow: /* ... */ 1120px 1450px #FFF; animation: animStar 150s linear infinite; }
@keyframes animStar { from { transform: translateY(0px); } to { transform: translateY(-2000px); } }


h1, h2 {
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #FFFFFF;
    text-align: center;
}

p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
    color: #eee;
    text-align: center;
}

span {
    font-size: 12px;
    color: #FFFFFF;
}

a.back-link {
    color: #FFFFFF;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0 0 0; /* Margin top only */
    display: block; /* Make it a block to center it */
    text-align: center;
    transition: color 0.3s;
}
a.back-link:hover {
    color: #42a5f5;
}

button {
    border-radius: 20px;
    border: 1px solid #555;
    background-color: #222;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    cursor: pointer;
    width: 100%; /* Make buttons full width */
    margin-top: 10px;
}

button:active {
    transform: scale(0.95);
}

button:focus {
    outline: none;
}

form {
    background-color: transparent; /* Form is transparent, container has bg */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0; /* Padding is on the container */
    height: 100%;
    text-align: center;
}

input {
    background-color: #222;
    color: #FFFFFF;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}

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

.password-wrapper input {
    padding-right: 45px;
}

.password-wrapper i {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
}

.password-wrapper i:hover {
    color: #ccc;
}

/* Main container for the forgot password form */
.fp-container {
    background-color: rgba(0, 0, 0, 0.8); /* Dark semi-transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    position: relative;
    overflow: hidden;
    width: 400px; /* Single panel width */
    max-width: 90%;
    min-height: 300px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Make sure all steps take full width */
#fpStep1, #fpStep2, #fpStep3 {
    width: 100%;
}

/* Style for the feedback message */
#fpFeedback {
    font-size: 13px;
    font-weight: 500;
    height: 20px;
    margin-top: 15px;
    text-align: center;
    width: 100%;
}
#fpFeedback.success {
    color: lightgreen;
}
#fpFeedback.error {
    color: tomato;
}

/* Style for the security question text */
.security-question-text {
    font-size: 15px !important;
    color: #eee !important;
    font-weight: 500 !important;
    margin-bottom: 10px !important;
    text-align: left !important;
    line-height: 1.4 !important;
}

/* Copied from login.css */
select {
    background-color: #222;
    color: #FFFFFF;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}
select option[disabled] {
    color: #777;
}
select option {
    background: #333;
    color: #fff;
}
