/* Main Container */
.vgpf-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
    background: #f8f9fa;
}

/* Input Section */
.vgpf-input-section {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.vgpf-input-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
}

.vgpf-input-section h3 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.vgpf-subtitle {
    color: rgba(255,255,255,0.9);
    text-align: center;
    margin: 0 0 30px 0;
    font-size: 16px;
}

.vgpf-icon {
    margin-right: 10px;
}

.vgpf-form {
    width: 100%;
}

.vgpf-match-selector {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.vgpf-team-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.vgpf-team-box {
    flex: 1;
    min-width: 300px;
}

.vgpf-home-team {
    text-align: left;
}

.vgpf-away-team {
    text-align: right;
}

.vgpf-team-box label {
    display: block;
    color: white;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 16px;
}

.vgpf-select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 10px;
    font-size: 16px;
    background: rgba(255,255,255,0.95);
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: #333;
    font-weight: 500;
}

.vgpf-select:focus {
    outline: none;
    border-color: #fff;
    background: white;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.vgpf-vs-container {
    min-width: 100px;
    text-align: center;
}

.vgpf-vs {
    color: white;
    font-size: 24px;
    font-weight: 800;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.vgpf-submit-row {
    display: flex;
    gap: 15px;
    margin: 30px 0 0;
    flex-wrap: wrap;
    justify-content: center;
}

.vgpf-button {
    padding: 16px 35px;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vgpf-button-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    box-shadow: 0 4px 15px rgba(255,107,107,0.4);
}

.vgpf-button-primary:hover {
    background: linear-gradient(135deg, #ff5252 0%, #e53935 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,107,107,0.6);
}

.vgpf-button-secondary {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    box-shadow: 0 4px 15px rgba(78,205,196,0.4);
}

.vgpf-button-secondary:hover {
    background: linear-gradient(135deg, #26a69a 0%, #00796b 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78,205,196,0.6);
}

.vgpf-button-excel {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    box-shadow: 0 4px 15px rgba(40,167,69,0.4);
}

.vgpf-button-excel:hover {
    background: linear-gradient(135deg, #218838 0%, #1c7430 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.6);
}

.vgpf-button-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    box-shadow: 0 4px 15px rgba(40,167,69,0.4);
}

.vgpf-button-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1c7430 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.6);
}

.vgpf-button-admin {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    box-shadow: 0 4px 15px rgba(111,66,193,0.4);
}

.vgpf-button-admin:hover {
    background: linear-gradient(135deg, #5a32a3 0%, #4a2780 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(111,66,193,0.6);
}

.vgpf-button-icon {
    font-size: 18px;
}

.vgpf-success {
    color: #28a745;
    margin-top: 20px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    border-left: 4px solid #28a745;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideIn 0.5s ease-in-out;
}

.vgpf-success-icon {
    font-size: 24px;
}

.vgpf-error {
    color: #ff6b6b;
    margin-top: 20px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    border-left: 4px solid #ff6b6b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: shake 0.5s ease-in-out;
}

.vgpf-error-icon {
    font-size: 24px;
}

.vgpf-error-content {
    flex: 1;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Predictions Section */
.vgpf-predictions-section {
    background: white;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.vgpf-predictions-header {
    background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
    padding: 30px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vgpf-predictions-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.vgpf-predictions-title {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vgpf-match-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 25px 0;
    font-size: 24px;
    font-weight: 700;
}

.vgpf-team-preview {
    padding: 12px 25px;
    border-radius: 10px;
    min-width: 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vgpf-team-preview.home {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border: 3px solid #26a69a;
}

.vgpf-team-preview.away {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border: 3px solid #e53935;
}

.vgpf-vs-preview {
    color: white;
    font-weight: 300;
    font-size: 20px;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 8px;
}

/* Download Section */
.vgpf-download-section {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    text-align: center;
}

.vgpf-download-info {
    color: rgba(255,255,255,0.9);
    margin: 10px 0 0 0;
    font-size: 14px;
    font-style: italic;
}

/* Predictions Table */
.vgpf-predictions-table {
    padding: 0;
}

.vgpf-table-container {
    overflow-x: auto;
}

.vgpf-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.vgpf-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 3px solid #5a67d8;
}

.vgpf-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    vertical-align: middle;
    background: white;
}

.vgpf-prediction-row:hover {
    background-color: #f8f9fa;
}

.vgpf-main-prediction {
    background: #f0f7ff !important;
    border-left: 4px solid #667eea;
}

.vgpf-score-prediction {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
}

.vgpf-prediction-type {
    min-width: 200px;
    font-weight: 600;
    color: #333;
}

.vgpf-prediction-value {
    min-width: 180px;
}

.vgpf-prediction-badge {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.vgpf-badge-result-1 {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    border: 2px solid #155724;
}

.vgpf-badge-result-X {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #333;
    border: 2px solid #856404;
}

.vgpf-badge-result-2 {
    background: linear-gradient(135deg, #dc3545 0%, #bd2130 100%);
    color: white;
    border: 2px solid #721c24;
}

.vgpf-badge-ou-over {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
    color: white;
    border: 2px solid #0c5460;
}

.vgpf-badge-ou-under {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
    color: white;
    border: 2px solid #383d41;
}

.vgpf-badge-btts-nai {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    border: 2px solid #155724;
}

.vgpf-badge-btts-oxi {
    background: linear-gradient(135deg, #dc3545 0%, #bd2130 100%);
    color: white;
    border: 2px solid #721c24;
}

.vgpf-probability {
    min-width: 120px;
}

.vgpf-probability-display {
    text-align: center;
}

.vgpf-probability-value {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    display: block;
}

.vgpf-frequency {
    min-width: 120px;
}

.vgpf-frequency-display {
    text-align: center;
    font-weight: 600;
    color: #333;
}

.vgpf-confidence {
    min-width: 150px;
}

.vgpf-confidence-meter {
    height: 24px;
    background: #e9ecef;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 5px;
}

.vgpf-confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
    border-radius: 12px;
    transition: width 1s ease;
}

.vgpf-confidence-meter span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.vgpf-score-display {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vgpf-score-home, .vgpf-score-away {
    min-width: 40px;
    text-align: center;
}

.vgpf-score-separator {
    color: #666;
    font-weight: 300;
}

/* Feedback Form Section */
.vgpf-feedback-form-section {
    padding: 30px;
    background: #f8f9fa;
    border-top: 2px solid #dee2e6;
}

.vgpf-feedback-header {
    margin-bottom: 25px;
    text-align: center;
}

.vgpf-feedback-header h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vgpf-feedback-info {
    color: #666;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.vgpf-feedback-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.vgpf-feedback-match-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.vgpf-feedback-match {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 600;
}

.vgpf-feedback-home {
    color: #28a745;
    background: #d4edda;
    padding: 8px 16px;
    border-radius: 6px;
}

.vgpf-feedback-away {
    color: #dc3545;
    background: #f8d7da;
    padding: 8px 16px;
    border-radius: 6px;
}

.vgpf-feedback-vs {
    color: #666;
    font-weight: 400;
}

.vgpf-feedback-date {
    color: #666;
    font-size: 14px;
}

.vgpf-date-input {
    padding: 8px 12px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    margin-left: 10px;
}

.vgpf-feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.vgpf-feedback-group {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.vgpf-feedback-group:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.vgpf-feedback-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vgpf-label-icon {
    font-size: 20px;
}

.vgpf-feedback-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.vgpf-option {
    position: relative;
}

.vgpf-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.vgpf-option-label {
    display: block;
    padding: 15px;
    text-align: center;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.vgpf-option-label:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.vgpf-option input[type="radio"]:checked + .vgpf-option-label {
    border-color: #28a745;
    background: #d4edda;
    font-weight: 600;
}

.vgpf-option-1 input[type="radio"]:checked + .vgpf-option-label {
    border-color: #28a745;
    background: #d4edda;
    color: #155724;
}

.vgpf-option-X input[type="radio"]:checked + .vgpf-option-label {
    border-color: #ffc107;
    background: #fff3cd;
    color: #856404;
}

.vgpf-option-2 input[type="radio"]:checked + .vgpf-option-label {
    border-color: #dc3545;
    background: #f8d7da;
    color: #721c24;
}

.vgpf-option-over input[type="radio"]:checked + .vgpf-option-label {
    border-color: #17a2b8;
    background: #d1ecf1;
    color: #0c5460;
}

.vgpf-option-under input[type="radio"]:checked + .vgpf-option-label {
    border-color: #6c757d;
    background: #e2e3e5;
    color: #383d41;
}

.vgpf-option-yes input[type="radio"]:checked + .vgpf-option-label {
    border-color: #28a745;
    background: #d4edda;
    color: #155724;
}

.vgpf-option-no input[type="radio"]:checked + .vgpf-option-label {
    border-color: #dc3545;
    background: #f8d7da;
    color: #721c24;
}

.vgpf-option-text {
    font-size: 18px;
    font-weight: 700;
}

.vgpf-option-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Score Inputs */
.vgpf-score-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.vgpf-score-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.vgpf-score-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.vgpf-number-input {
    width: 80px;
    padding: 12px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}

.vgpf-number-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.vgpf-score-separator {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

/* Comments Section */
.vgpf-comments-section {
    margin-bottom: 25px;
}

.vgpf-comments-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    min-height: 100px;
    resize: vertical;
    transition: all 0.3s ease;
}

.vgpf-comments-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

/* Agreement Section */
.vgpf-agreement-section {
    margin-bottom: 30px;
}

.vgpf-agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.vgpf-agreement-checkbox input[type="checkbox"] {
    margin-top: 4px;
}

.vgpf-agreement-checkbox label {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

/* Feedback Buttons */
.vgpf-feedback-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Feedback Stats */
.vgpf-feedback-stats {
    padding: 25px 30px;
    background: white;
    border-top: 2px solid #dee2e6;
}

.vgpf-feedback-stats h5 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vgpf-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.vgpf-stat-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.vgpf-stat-card:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.vgpf-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #333;
    margin-bottom: 5px;
}

.vgpf-stat-label {
    font-size: 14px;
    color: #666;
}

/* Admin Section */
.vgpf-admin-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 2px solid #6f42c1;
}

.vgpf-admin-section h4 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vgpf-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.vgpf-admin-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #6f42c1;
}

.vgpf-admin-label {
    color: #666;
    font-size: 14px;
}

.vgpf-admin-value {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.vgpf-admin-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .vgpf-team-selector {
        flex-direction: column;
        align-items: stretch;
    }
    
    .vgpf-team-box {
        min-width: 100%;
    }
    
    .vgpf-home-team, .vgpf-away-team {
        text-align: center;
    }
    
    .vgpf-vs-container {
        order: 1;
    }
    
    .vgpf-match-preview {
        flex-direction: column;
        gap: 15px;
    }
    
    .vgpf-team-preview {
        min-width: 100%;
    }
    
    .vgpf-feedback-grid {
        grid-template-columns: 1fr;
    }
    
    .vgpf-feedback-match-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .vgpf-container {
        padding: 15px;
    }
    
    .vgpf-input-section {
        padding: 20px;
    }
    
    .vgpf-input-section h3 {
        font-size: 22px;
    }
    
    .vgpf-match-selector {
        padding: 15px;
    }
    
    .vgpf-submit-row {
        flex-direction: column;
    }
    
    .vgpf-button {
        width: 100%;
        min-width: auto;
    }
    
    .vgpf-predictions-header {
        padding: 20px;
    }
    
    .vgpf-predictions-title {
        font-size: 20px;
    }
    
    .vgpf-probability-value {
        font-size: 20px;
    }
    
    .vgpf-score-display {
        font-size: 22px;
    }
    
    .vgpf-feedback-form {
        padding: 20px;
    }
    
    .vgpf-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vgpf-admin-stats {
        grid-template-columns: 1fr;
    }
    
    .vgpf-feedback-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .vgpf-container {
        padding: 10px;
    }
    
    .vgpf-input-section {
        padding: 15px;
    }
    
    .vgpf-input-section h3 {
        font-size: 20px;
    }
    
    .vgpf-subtitle {
        font-size: 14px;
    }
    
    .vgpf-predictions-title {
        font-size: 18px;
    }
    
    .vgpf-match-preview {
        font-size: 18px;
    }
    
    .vgpf-team-preview {
        min-width: 100%;
        font-size: 16px;
    }
    
    .vgpf-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .vgpf-feedback-options {
        grid-template-columns: 1fr;
    }
    
    .vgpf-score-inputs {
        flex-direction: column;
        gap: 15px;
    }
}