/* KennyCon P2W Theme - Matching kennycon.net style */

body.p2w-theme {
    padding: 0;
    background: #1a202c;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.p2w-header {
    background: #2d3748;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-bottom: 4px solid #facc15;
}

.p2w-header h1 {
    margin: 0;
    color: #facc15;
    font-size: 32px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.p2w-header .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-top: 8px;
}

.p2w-filter-section,
.p2w-table-section,
.p2w-panel {
    background: #2d3748;
    border-radius: 8px;
    margin: 0 20px 20px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 1px solid #4a5568;
}

.p2w-filter-section {
    padding: 25px;
}

.p2w-filter-section h3 {
    margin: 0 0 20px 0;
    color: #facc15;
    font-size: 20px;
    font-weight: 700;
}

.filter-col label {
    color: #e2e8f0 !important;
}

.form-input {
    background: #1a202c;
    border: 1px solid #4a5568;
    color: #e2e8f0;
}

.form-input:focus {
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.p2w-table {
    background: #2d3748;
}

.p2w-table thead {
    background: #1a202c;
    border-bottom: 3px solid #facc15;
}

.p2w-table th {
    color: #facc15 !important;
    font-weight: 700;
    padding: 15px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    background: #1a202c !important;
}

.p2w-table tbody tr {
    background: #2d3748;
}

.p2w-table tbody tr:nth-child(even) {
    background: #374151;
}

.p2w-table tbody tr:hover {
    background: #4a5568;
}

.p2w-table td {
    border-bottom: 1px solid #4a5568;
}

.p2w-input {
    background: #1a202c !important;
    border: 1px solid #4a5568 !important;
    color: #e2e8f0 !important;
}

.p2w-input:focus {
    border-color: #facc15 !important;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1) !important;
}

.p2w-input::placeholder {
    color: #718096;
}

.btn-primary {
    background: #5a67d8;
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #4c51bf;
}

.btn-success {
    background: #facc15;
    border: none;
    color: #1a202c;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-success:hover {
    background: #eab308;
}

.btn-secondary {
    background: #4a5568;
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #2d3748;
}

.p2w-table-footer {
    background: #1a202c;
    color: #e2e8f0;
    padding: 20px;
    border-top: 3px solid #facc15;
}

.p2w-table-footer strong {
    color: #facc15;
}

.p2w-modal-header {
    background: #2d3748;
    border-bottom: 3px solid #facc15;
}

.p2w-modal-header h2 {
    color: #facc15 !important;
}

.modal-content {
    background: #2d3748;
}

.modal-body {
    background: #2d3748;
}

.modal-body .form-group label {
    color: #e2e8f0;
}

.modal-footer {
    background: #1a202c;
    border-top: 1px solid #4a5568;
}

.p2w-loading-spinner {
    border-color: rgba(250, 204, 21, 0.3);
    border-top-color: #facc15;
}

.message.success {
    background: rgba(72, 187, 120, 0.15);
    border-color: #48bb78;
    color: #48bb78;
}

.message.error {
    background: rgba(245, 101, 101, 0.15);
    border-color: #f56565;
    color: #f56565;
}

.message.info {
    background: rgba(66, 153, 225, 0.15);
    border-color: #4299e1;
    color: #4299e1;
}

/* P2W App specific styles */
.p2w-panel h2 {
    color: #facc15 !important;
    border-bottom-color: #4a5568 !important;
}

.game-info-display {
    background: #1a202c !important;
    color: #e2e8f0;
}

.game-info-display h3 {
    color: #facc15 !important;
}

.game-info-display .game-details {
    color: #cbd5e0 !important;
}

.player-display {
    background: #1a202c !important;
    border-color: #5a67d8 !important;
    color: #e2e8f0 !important;
}

.player-field label {
    color: #e2e8f0 !important;
}

.add-player-btn {
    background: #5a67d8 !important;
}

.add-player-btn:hover {
    background: #4c51bf !important;
}

.submit-btn {
    background: #48bb78 !important;
}

.submit-btn:hover {
    background: #38a169 !important;
}

.clear-btn {
    background: #4a5568 !important;
}

.clear-btn:hover {
    background: #2d3748 !important;
}
