/* ============================================
   WINDOWS 95 THEME - Retro Classic Style
   ============================================ */

html[data-theme="win95"] {
    --primary: #0a7f8c;
    --primary-dark: #004a54;
    --primary-light: #0fa399;
    --secondary: #ff6b9d;
    --bg-primary: #c0c0c0;
    --bg-secondary: #dfdfdf;
    --text-primary: #000000;
    --text-secondary: #1a1a1a;
    --border: #808080;
    --success: #008000;
    --error: #cc0000;
    --warning: #cccc00;
}

html[data-theme="win95"] * {
    font-family: 'MS Sans Serif', 'Microsoft Sans Serif', Arial, sans-serif;
    font-size: 11px;
}

html[data-theme="win95"] body {
    background: teal;
    padding: 20px 10px;
}

html[data-theme="win95"] #app {
    max-width: 500px;
}

html[data-theme="win95"] .container {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
    padding: 8px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

html[data-theme="win95"] .container::before {
    display: none;
}

html[data-theme="win95"] h1, 
html[data-theme="win95"] h2, 
html[data-theme="win95"] h3 {
    color: #000080;
    text-shadow: 1px 1px 0 #dfdfdf;
    font-weight: bold;
    font-size: 14px;
    margin-top: 0;
}

html[data-theme="win95"] h1 {
    margin-bottom: 12px;
    text-align: center;
}

html[data-theme="win95"] .upload-zone {
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf;
    background: #c0c0c0;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
    padding: 30px 16px;
    margin-bottom: 8px;
}

html[data-theme="win95"] .upload-zone:hover {
    background: #c0c0c0;
    transform: none;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
}

html[data-theme="win95"] .upload-zone.dragover {
    background: #000080;
    border-color: #000080;
    color: #ffffff;
    transform: none;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] .upload-zone.dragover .upload-text {
    color: white;
}

html[data-theme="win95"] .upload-icon {
    font-size: 48px;
    animation: none;
    margin-bottom: 12px;
}

html[data-theme="win95"] .upload-text {
    color: #000000;
    font-size: 11px;
    font-weight: normal;
}

html[data-theme="win95"] .file-selected-name {
    color: #000080;
    font-size: 11px;
    font-weight: bold;
}

html[data-theme="win95"] .file-selected-size {
    color: #808080;
    font-size: 10px;
}

html[data-theme="win95"] input[type="password"],
html[data-theme="win95"] input[type="text"] {
    background: #ffffff;
    color: #000000;
    border: 2px solid;
    border-color: #808080 #dfdfdf #dfdfdf #808080;
    box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #404040;
    padding: 8px 6px;
    font-size: 11px;
    font-family: 'MS Sans Serif', Arial, sans-serif;
}

html[data-theme="win95"] input[type="password"]::placeholder,
html[data-theme="win95"] input[type="text"]::placeholder {
    color: #a0a0a0;
}

html[data-theme="win95"] input[type="password"]:focus,
html[data-theme="win95"] input[type="text"]:focus {
    background: #ffffff;
    border-color: #808080 #dfdfdf #dfdfdf #808080;
    box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #404040;
    outline: none;
}

html[data-theme="win95"] button {
    width: auto;
    background: linear-gradient(135deg, #dfdfdf 0%, #c0c0c0 100%);
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf;
    color: #000000;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: bold;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    font-family: 'MS Sans Serif', Arial, sans-serif;
}

html[data-theme="win95"] button:hover {
    background: linear-gradient(135deg, #dfdfdf 0%, #c0c0c0 100%);
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
}

html[data-theme="win95"] button:active {
    border-color: #404040 #dfdfdf #dfdfdf #404040;
    box-shadow: inset 1px 1px 0 #404040, inset -1px -1px 0 #ffffff;
}

html[data-theme="win95"] button:disabled {
    opacity: 0.7;
    color: #a0a0a0;
}

html[data-theme="win95"] .btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #dfdfdf 0%, #c0c0c0 100%);
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf;
    color: #000000;
    text-align: center;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
}

html[data-theme="win95"] .btn-primary:hover {
    background: linear-gradient(135deg, #dfdfdf 0%, #c0c0c0 100%);
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
}

html[data-theme="win95"] .btn-primary:active {
    border-color: #404040 #dfdfdf #dfdfdf #404040;
    box-shadow: inset 1px 1px 0 #404040, inset -1px -1px 0 #ffffff;
}

html[data-theme="win95"] .btn-secondary {
    background: linear-gradient(135deg, #dfdfdf 0%, #c0c0c0 100%);
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf;
    color: #000000;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
}

html[data-theme="win95"] .btn-secondary:hover {
    background: linear-gradient(135deg, #dfdfdf 0%, #c0c0c0 100%);
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
}

html[data-theme="win95"] .button-group {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

html[data-theme="win95"] .button-group button {
    width: 100%;
    flex: 1;
    min-width: 75px;
    text-align: center;
}

html[data-theme="win95"] .file-info {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
    padding: 8px;
    margin-bottom: 8px;
}

html[data-theme="win95"] .file-info p {
    color: #000000;
    font-size: 10px;
    margin-bottom: 4px;
}

html[data-theme="win95"] .file-name {
    color: #000080;
    font-weight: bold;
    font-size: 12px;
}

html[data-theme="win95"] .file-name-display {
    color: #000080;
    font-weight: bold;
    font-size: 12px;
}

html[data-theme="win95"] .status {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
    padding: 6px 8px;
    font-size: 11px;
    margin-bottom: 8px;
}

html[data-theme="win95"] .status.success {
    background: #c0c0c0;
    color: #008000;
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf;
}

html[data-theme="win95"] .status.error {
    background: #c0c0c0;
    color: #cc0000;
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf;
}

html[data-theme="win95"] .status.loading {
    background: #c0c0c0;
    color: #000080;
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf;
}

html[data-theme="win95"] .share-link {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
    padding: 8px;
    margin-bottom: 8px;
}

html[data-theme="win95"] .share-link a {
    color: #000080;
    text-decoration: underline;
    font-size: 11px;
}

html[data-theme="win95"] .share-link a:hover {
    color: #004a54;
}

html[data-theme="win95"] .form-group {
    margin-bottom: 8px;
}

html[data-theme="win95"] label {
    color: #000000;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 4px;
}

html[data-theme="win95"] .password-input-container {
    position: relative;
}

html[data-theme="win95"] .password-toggle {
    display: none;
}

html[data-theme="win95"] .home-link {
    margin-top: 8px;
    text-align: center;
}

html[data-theme="win95"] .home-link a {
    color: #000080;
    text-decoration: underline;
    font-size: 11px;
}

html[data-theme="win95"] .home-link a:hover {
    color: #004a54;
}

html[data-theme="win95"] .back-link {
    color: #000080;
    text-decoration: underline;
    font-size: 11px;
    margin-bottom: 8px;
}

html[data-theme="win95"] .back-link:hover {
    color: #004a54;
}

html[data-theme="win95"] .info-text {
    color: #000000;
    font-size: 11px;
    line-height: 1.6;
}

html[data-theme="win95"] .info-text p {
    margin-bottom: 8px;
}

html[data-theme="win95"] .info-text strong {
    color: #000080;
}

html[data-theme="win95"] .warning-box {
    background: #ffff99;
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
    padding: 6px 8px;
    color: #000000;
    font-size: 10px;
    margin-top: 8px;
}

html[data-theme="win95"] .warning-box strong {
    color: #cc0000;
}

html[data-theme="win95"] .theme-close-btn {
    background: linear-gradient(135deg, #dfdfdf 0%, #c0c0c0 100%);
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf;
    color: #000000;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
    font-size: 11px;
    padding: 4px 8px;
    width: 100%;
}

html[data-theme="win95"] .theme-close-btn:hover {
    background: linear-gradient(135deg, #dfdfdf 0%, #c0c0c0 100%);
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
}

html[data-theme="win95"] .spinner {
    display: none;
}

html[data-theme="win95"] button {
    background: linear-gradient(135deg, #dfdfdf 0%, #808080 100%);
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    color: #000000;
    text-shadow: none;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] button:hover {
    background: linear-gradient(135deg, #dfdfdf 0%, #808080 100%);
    transform: none;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] button:active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
    box-shadow: inset 1px 1px 0 #404040, inset -1px -1px 0 #ffffff;
    transform: translateY(0);
}

html[data-theme="win95"] .btn-primary {
    background: linear-gradient(135deg, #dfdfdf 0%, #808080 100%);
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    color: #000000;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] .btn-primary:hover {
    background: linear-gradient(135deg, #dfdfdf 0%, #808080 100%);
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] .btn-primary:active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
    box-shadow: inset 1px 1px 0 #404040, inset -1px -1px 0 #ffffff;
}

html[data-theme="win95"] .btn-secondary {
    background: linear-gradient(135deg, #dfdfdf 0%, #808080 100%);
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    color: #000000;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] .btn-secondary:hover {
    background: linear-gradient(135deg, #dfdfdf 0%, #808080 100%);
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] .upload-zone::before {
    display: none;
}

html[data-theme="win95"] .file-info {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] .status {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] .status.success {
    background: #c0c0c0;
    color: #008000;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
}

html[data-theme="win95"] .status.error {
    background: #c0c0c0;
    color: #ff0000;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
}

html[data-theme="win95"] .status.loading {
    background: #c0c0c0;
    color: #0a7f8c;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
}

html[data-theme="win95"] input[type="password"],
html[data-theme="win95"] input[type="text"] {
    background: #ffffff;
    color: #000000;
    border: 2px solid;
    border-color: #808080 #dfdfdf #dfdfdf #808080;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] input[type="password"]:focus,
html[data-theme="win95"] input[type="text"]:focus {
    background: #ffffff;
    border-color: #808080 #dfdfdf #dfdfdf #808080;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] .share-link {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] .share-link a {
    color: #0a7f8c;
    text-decoration: underline;
}

html[data-theme="win95"] .theme-btn {
    background: linear-gradient(135deg, #dfdfdf 0%, #808080 100%);
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    color: #000000;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    min-width: 70px !important;
    padding: 12px !important;
    font-size: 12px !important;
    white-space: normal !important;
    word-break: break-word !important;
}

html[data-theme="win95"] .theme-btn.active {
    background: linear-gradient(135deg, #808080 0%, #c0c0c0 100%);
    border-color: #808080 #dfdfdf #dfdfdf #808080;
    box-shadow: inset 1px 1px 0 #404040, inset -1px -1px 0 #ffffff;
}

html[data-theme="win95"] .theme-btn:hover {
    transform: none;
}

html[data-theme="win95"] .theme-close-btn {
    background: linear-gradient(135deg, #dfdfdf 0%, #808080 100%);
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    color: #000000;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] .theme-close-btn:hover {
    background: linear-gradient(135deg, #dfdfdf 0%, #808080 100%);
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040;
}

html[data-theme="win95"] .back-link {
    color: #0a7f8c;
    text-decoration: underline;
}

html[data-theme="win95"] .back-link:hover {
    color: #004a54;
}

html[data-theme="win95"] .home-link a {
    color: #0a7f8c;
    text-decoration: underline;
}

html[data-theme="win95"] .home-link a:hover {
    color: #004a54;
}
