/*
 * High-Fidelity Pornhub UI Theme
 * Recreating the iconic look and feel.
 */

/* The primary font used is Arial, a web-safe standard. */
@import url('https://fonts.googleapis.com/css2?family=Arial&display=swap');

:root {
    --ph-black: #000000;
    --ph-dark-grey: #222222;
    --ph-medium-grey: #333333;
    --ph-light-grey: #999999;
    --ph-orange: #ff9900;
    --ph-white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--ph-black);
    color: var(--ph-white);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 1rem;
}

main.login-card {
    background-color: var(--ph-dark-grey);
    padding: 2.5rem;
    border-radius: 6px;
    border: 1px solid var(--ph-medium-grey);
    text-align: center;
    width: 100%;
    max-width: 450px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.card-header {
    margin-bottom: 2rem;
}

/* This section mimics the Pornhub logo style */
.card-header h2 {
    margin: 0 0 0.75rem 0;
    font-weight: bold;
    font-size: 2rem;
    text-transform: lowercase; /* A subtle stylistic choice */
}

.card-header h2 span {
    background-color: var(--ph-orange);
    color: var(--ph-black);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-left: 0.25rem;
}

.card-header p {
    color: var(--ph-light-grey);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.input-field {
    margin-bottom: 1.25rem;
    text-align: left;
}

.input-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--ph-light-grey);
}

.input-field input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--ph-medium-grey);
    border-radius: 4px;
    background-color: #111111; /* A slightly different black for depth */
    color: var(--ph-white);
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    transition: all 0.2s ease-in-out;
}

.input-field input::placeholder {
    color: #666;
}

.input-field input:focus {
    outline: none;
    border-color: var(--ph-orange);
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.2);
}

.action-button {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--ph-orange);
    color: var(--ph-black);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
    transition: background-color 0.2s ease-in-out;
}

.action-button:hover {
    background-color: #ffac33; /* Brighter orange on hover */
}

.message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: left;
    border: 1px solid;
}

.message strong {
    font-weight: bold;
    display: block;
    margin-bottom: 0.25rem;
}

.message.error {
    background-color: rgba(255, 51, 51, 0.1);
    border-color: rgba(255, 51, 51, 0.4);
    color: #ffabab;
}

.message.success {
    background-color: rgba(255, 153, 0, 0.1);
    border-color: rgba(255, 153, 0, 0.4);
    color: #ffd280;
}

.card-footer {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #666666; /* A very dark grey for subtle text */
}