/* iOS style variables */
:root {
    --ios-background: #F2F2F7;
    --ios-blue: #007AFF;
    --ios-gray: #8E8E93;
    --ios-border: #E5E5EA;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--ios-gray);
    border-radius: 3px;
}

/* iOS style card */
.ios-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* iOS style button */
.ios-button {
    background: var(--ios-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

.ios-button:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* iOS style input */
.ios-input {
    background: rgba(142, 142, 147, 0.12);
    border-radius: 10px;
    padding: 12px 16px;
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
}

.ios-input:focus {
    background: rgba(142, 142, 147, 0.18);
}

/* iOS style list item */
.ios-list-item {
    padding: 16px;
    background: white;
    border-bottom: 1px solid var(--ios-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ios-list-item:last-child {
    border-bottom: none;
}

/* iOS style badge */
.ios-badge {
    background: var(--ios-blue);
    color: white;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
}

/* iOS style segmented control */
.ios-segmented {
    background: rgba(142, 142, 147, 0.12);
    border-radius: 8px;
    padding: 2px;
    display: flex;
    margin: 16px 0;
}

.ios-segmented-item {
    flex: 1;
    text-align: center;
    padding: 6px 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ios-gray);
    transition: all 0.2s;
}

.ios-segmented-item.active {
    background: white;
    color: var(--ios-blue);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* iOS style form group */
.ios-form-group {
    margin-bottom: 20px;
}

.ios-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--ios-gray);
    font-size: 14px;
}

/* iOS style alert */
.ios-alert {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.slide-up {
    animation: slideUp 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
} 