/*
Theme Name: YOO.TV Theme
Theme URI: https://thirdoakproductions.com
Author: Third Oak Productions, LLC
Author URI: https://thirdoakproductions.com
Description: Minimal dark theme for YOO.TV with styled password protection form.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 8.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Text Domain: yootv-theme
*/

/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #0a0a0a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* WordPress Password Protection Form Styling */
.post-password-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 48px 40px;
    background: linear-gradient(145deg, #141414 0%, #1a1a1a 100%);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.05);
}

.post-password-form p {
    margin: 0 0 24px 0;
    color: #a0a0a0;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

.post-password-form p:empty {
    display: none;
}

.post-password-form p:last-of-type {
    margin-bottom: 0;
}

.post-password-form label {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #e0e0e0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.post-password-form input[type="password"] {
    width: 100%;
    padding: 16px 20px;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.post-password-form input[type="password"]:focus {
    outline: none;
    border-color: #4a4a4a;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.post-password-form input[type="password"]::placeholder {
    color: #505050;
}

.post-password-form input[type="submit"] {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border: none;
    border-radius: 10px;
    color: #0a0a0a;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.post-password-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, #d0d0d0 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.post-password-form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .post-password-form {
        margin: 20px;
        padding: 32px 24px;
        width: calc(100% - 40px);
        max-width: none;
    }
}

/* Links */
a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
