/* ================================================
   Team Selection Page Styles - My Eleven
   チーム選択画面専用のスタイル
   ================================================ */

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    padding-bottom: 20px;
}

/* Header */
header {
    background: #2C2C2C;
    color: white;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
}

.logo img {
    width: 28px;
    height: 28px;
}

.cta-btn {
    background: #28a745;
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* Header - ログイン済みユーザー表示 */
.header-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-user-photo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
}

.header-user span {
    font-size: 14px;
    color: #ddd;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ログイン誘導カード */
.login-prompt-card {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 1px solid #c8e6c9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.login-prompt-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.login-prompt-text {
    font-size: 15px;
    color: #2e7d32;
    font-weight: 500;
    margin-bottom: 14px;
}

.login-prompt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.login-prompt-btn:hover {
    background: #f8f8f8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.google-icon {
    flex-shrink: 0;
}

.container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 40px 40px;
    margin-top: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: calc(100% - 40px);
    text-align: center;
}

h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

.subtitle {
    font-size: 18px;
    color: #5a6c7d;
    margin-bottom: 40px;
}

.team-select-container {
    margin-bottom: 30px;
}

.team-select {
    width: 100%;
    padding: 20px 18px;
    padding-right: 45px;
    font-size: 18px;
    border: 2px solid rgba(108, 117, 125, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: #2c3e50;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232c3e50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 22px;
    line-height: 1.5;
}

.team-select:hover {
    border-color: rgba(108, 117, 125, 0.5);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-select:focus {
    outline: none;
    border-color: rgba(108, 117, 125, 0.6);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 4px rgba(108, 117, 125, 0.1);
}

.team-select option {
    background: white;
    color: #2c3e50;
    font-size: 18px;
    padding: 12px;
}

.start-btn {
    width: 100%;
    padding: 18px;
    background: rgba(52, 152, 219, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.start-btn:hover {
    background: rgba(52, 152, 219, 0.9);
    border-color: rgba(52, 152, 219, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}

.start-btn:active {
    transform: translateY(-1px);
}

.back-to-top {
    display: inline-block;
    margin-bottom: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.back-to-top:hover {
    color: #333;
}

@media (max-width: 600px) {
    .container {
        padding: 40px 30px;
    }

    h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 16px;
    }
}
