/* GoDareMe Global Styles */

/* General Styles */
.godareme-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.godareme-form {
    margin-top: 20px;
}

.godareme-form-field {
    margin-bottom: 20px;
}

.godareme-form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.godareme-form-field input[type="text"],
.godareme-form-field input[type="email"],
.godareme-form-field input[type="password"],
.godareme-form-field input[type="number"],
.godareme-form-field input[type="date"],
.godareme-form-field select,
.godareme-form-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.godareme-form-field textarea {
    min-height: 100px;
}

.godareme-form-field .description {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.godareme-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF6B00;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.godareme-button:hover {
    background-color: #E65C00;
}

.godareme-button-secondary {
    background-color: #673AB7;
    color: white;
}

.godareme-button-secondary:hover {
    background-color: #5E35B1;
}

.godareme-form-links {
    margin-top: 20px;
    font-size: 14px;
}

.godareme-form-notice {
    margin-top: 20px;
    padding: 10px;
    background-color: #f8f8f8;
    border-left: 4px solid #FF6B00;
    font-size: 14px;
}

/* Form Errors and Success Messages */
.godareme-form-errors {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #FFF3F3;
    border-left: 4px solid #FF0000;
    color: #D8000C;
}

.godareme-form-success {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #F0FFF0;
    border-left: 4px solid #4CAF50;
    color: #4CAF50;
}

/* Radio and Checkbox Styles */
.godareme-radio-group {
    margin-top: 5px;
}

.godareme-radio-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
}

/* Currency Input */
.godareme-currency-input {
    position: relative;
}

.godareme-currency-symbol {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #666;
}

.godareme-currency-input input {
    padding-left: 25px !important;
}

/* Profile Styles */
.godareme-profile-header {
    display: flex;
    margin-bottom: 30px;
}

.godareme-profile-picture {
    width: 150px;
    margin-right: 30px;
}

.godareme-profile-picture img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.godareme-profile-placeholder {
    width: 150px;
    height: 150px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #999;
}

.godareme-profile-info {
    flex: 1;
}

/* Dashboard Styles */
.godareme-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

.godareme-dashboard-tabs {
    margin-top: 30px;
}

.godareme-tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #ddd;
}

.godareme-tabs-nav li {
    margin-right: 5px;
}

.godareme-tabs-nav a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

.godareme-tabs-nav li.active a {
    background-color: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    font-weight: 600;
}

.godareme-tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
    background-color: #fff;
}

.godareme-tab-content.active {
    display: block;
}

.godareme-stats-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.godareme-stat-box {
    flex: 1;
    margin-right: 20px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 4px;
    text-align: center;
}

.godareme-stat-box:last-child {
    margin-right: 0;
}

.godareme-stat-box h4 {
    margin-top: 0;
    color: #666;
}

.godareme-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #FF6B00;
}

.godareme-dashboard-actions {
    margin-top: 20px;
    margin-bottom: 40px;
}

.godareme-dares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.godareme-dare-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.godareme-dare-image img {
    width: 100%;
    height: auto;
}

.godareme-dare-content {
    padding: 15px;
}

.godareme-dare-influencer {
    color: #666;
    margin-bottom: 10px;
}

.godareme-dare-progress {
    margin-bottom: 15px;
}

.godareme-progress-bar {
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.godareme-progress-fill {
    height: 100%;
    background-color: #FF6B00;
}

.godareme-progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.godareme-dares-list {
    margin-top: 20px;
}

.godareme-dares-header {
    display: grid;
    grid-template-columns: 3fr 1fr 2fr 1fr;
    gap: 10px;
    padding: 10px;
    background-color: #f5f5f5;
    font-weight: 600;
}

.godareme-dares-row {
    display: grid;
    grid-template-columns: 3fr 1fr 2fr 1fr;
    gap: 10px;
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.godareme-status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.godareme-status-pending_approval {
    background-color: #FFF3CD;
    color: #856404;
}

.godareme-status-approved {
    background-color: #D1ECF1;
    color: #0C5460;
}

.godareme-status-rejected {
    background-color: #F8D7DA;
    color: #721C24;
}

.godareme-status-funding {
    background-color: #D4EDDA;
    color: #155724;
}

.godareme-status-funded {
    background-color: #CCE5FF;
    color: #004085;
}

.godareme-status-pending_verification {
    background-color: #E2E3E5;
    color: #383D41;
}

.godareme-status-completed {
    background-color: #D4EDDA;
    color: #155724;
}

.godareme-status-failed {
    background-color: #F8D7DA;
    color: #721C24;
}

.godareme-activity-list {
    margin-top: 20px;
}

.godareme-activity-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.godareme-activity-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.godareme-activity-content {
    flex: 1;
}

.godareme-activity-date {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .godareme-profile-header {
        flex-direction: column;
    }
    
    .godareme-profile-picture {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .godareme-stats-container {
        flex-direction: column;
    }
    
    .godareme-stat-box {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .godareme-dares-header,
    .godareme-dares-row {
        grid-template-columns: 2fr 1fr;
    }
    
    .godareme-dares-header div:nth-child(3),
    .godareme-dares-header div:nth-child(4),
    .godareme-dares-row div:nth-child(3),
    .godareme-dares-row div:nth-child(4) {
        display: none;
    }
}
