/* Poolie CSS - Styles for poolie dashboard and account management pages */

/* Page containers */
.poolie-page-container {
    max-width: 600px;
    margin: 40px auto;
}

.poolie-wide-container {
    max-width: 900px;
    margin: 40px auto;
}

.poolie-narrow-container {
    max-width: 500px;
    margin: 40px auto;
}

/* Headers */
.poolie-header {
    text-align: center;
    color: #df1700;
}

.poolie-subheader {
    color: #333;
    margin-bottom: 15px;
}

.poolie-section-header {
    margin: 0 0 15px 0;
    color: #333;
}

/* Alert boxes */
.poolie-alert-error {
    padding: 15px;
    margin: 20px 0;
    background-color: #ffe6e6;
    border: 2px solid #df1700;
    border-radius: 8px;
    color: #df1700;
}

.poolie-alert-warning {
    padding: 15px;
    margin: 20px 0;
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    color: #856404;
}

.poolie-alert-danger {
    background: #f8d7da;
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.poolie-alert-success {
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 30px;
}

.poolie-danger-text {
    color: #721c24;
}

.poolie-success-text {
    color: #155724;
}

/* Info boxes */
.poolie-info-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.poolie-info-box-large {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* Pool cards */
.poolie-pool-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #df1700;
}

.poolie-subgroup-card {
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Forms */
.poolie-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.poolie-form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.poolie-form-group {
    margin-bottom: 20px;
}

/* Labels and inputs */
.poolie-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.poolie-label-required {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #df1700;
}

.poolie-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.poolie-input-required {
    width: 100%;
    padding: 10px;
    border: 2px solid #df1700;
    border-radius: 4px;
    font-size: 16px;
}

.poolie-radio-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.poolie-radio-input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

/* Buttons - Full size */
.poolie-btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    border: none;
}

.poolie-btn-primary {
    background-color: #df1700;
    color: white;
}

.poolie-btn-success {
    background-color: #28a745;
    color: white;
}

.poolie-btn-info {
    background-color: #0066cc;
    color: white;
}

.poolie-btn-secondary {
    background-color: #6c757d;
    color: white;
}

.poolie-btn-warning {
    background-color: #ffc107;
    color: #000;
    font-weight: bold;
}

.poolie-btn-admin {
    background-color: #ffc107;
    color: #000;
    font-weight: bold;
}

.poolie-btn-cyan {
    background-color: #17a2b8;
    color: white;
}

.poolie-btn-danger {
    background-color: #dc3545;
    color: white;
}

/* Buttons - Small size (75%) */
.poolie-btn-sm {
    padding: 7.5px 15px;
    font-size: 14px;
}

/* Buttons - Large size */
.poolie-btn-lg {
    padding: 15px 30px;
    font-size: 18px;
}

/* Full width buttons */
.poolie-btn-block {
    width: 100%;
    padding: 12px;
    font-size: 18px;
}

/* Button groups */
.poolie-btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.poolie-btn-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Links */
.poolie-link {
    color: #0066cc;
    text-decoration: none;
}

.poolie-link-muted {
    color: #6c757d;
    text-decoration: none;
}

.poolie-back-link {
    text-align: center;
    margin-bottom: 30px;
}

/* Flexbox layouts */
.poolie-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.poolie-flex-start {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 15px;
}

.poolie-flex-item {
    flex: 1;
    min-width: 250px;
}

/* Text styles */
.poolie-text-center {
    text-align: center;
}

.poolie-text-muted {
    color: #666;
    font-style: italic;
}

.poolie-text-info {
    margin: 5px 0;
}

.poolie-text-info-muted {
    margin: 5px 0;
    color: #666;
}

.poolie-text-small {
    color: #666;
    font-size: 14px;
}

.poolie-help-text {
    color: #666;
}

/* Spacing utilities */
.poolie-mt-20 {
    margin-top: 20px;
}

.poolie-mt-15 {
    margin-top: 15px;
}

.poolie-mb-20 {
    margin-bottom: 20px;
}

.poolie-mb-30 {
    margin-bottom: 30px;
}

/* Team grid for selection */
.poolie-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.poolie-team-button {
    cursor: pointer;
    padding: 15px;
    border: 2px solid #ccc;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s;
}

.poolie-team-button.selected {
    background-color: #df1700;
    border-color: #df1700;
    color: white;
}

.poolie-team-number {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.poolie-team-name {
    color: #666;
}

.poolie-team-button.selected .poolie-team-name {
    color: white;
}

/* Status messages */
.poolie-status-message {
    text-align: center;
    font-size: 16px;
    margin: 15px 0;
    min-height: 25px;
    color: #df1700;
    font-weight: bold;
}

/* Loading/redirect messages */
.poolie-redirect-message {
    text-align: center;
    margin-top: 50px;
}

/* Dividers */
.poolie-divider {
    border-top: 2px solid #dee2e6;
    margin-top: 20px;
    padding-top: 20px;
}

/* Hidden by default */
.poolie-hidden {
    display: none;
}

/* Account dashboard specific */
.poolie-account-section {
    margin: 30px 0;
    text-align: center;
}
